From: <ji...@us...> - 2008-12-20 00:12:00
|
Update of /cvsroot/phpicalendar/phpicalendar/functions/init In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv22048/functions/init Modified Files: cpaths.php Log Message: fix rss link and dates Index: cpaths.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init/cpaths.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** cpaths.php 18 Dec 2008 09:22:23 -0000 1.3 --- cpaths.php 20 Dec 2008 00:11:56 -0000 1.4 *************** *** 2,6 **** # adjust paths in case they are incorrect if ($phpiCal_config->default_path == '') { ! $phpiCal_config->setProperty('default_path', BASE); } --- 2,7 ---- # adjust paths in case they are incorrect if ($phpiCal_config->default_path == '') { ! $p = str_replace("/rss","","http://".$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']) ); ! $phpiCal_config->setProperty('default_path', $p); } |