From: <cl...@us...> - 2005-10-05 00:29:21
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10454/functions Modified Files: init.inc.php Log Message: Updated incorrectly built RSS (now validates). Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.74 retrieving revision 1.75 diff -C2 -d -r1.74 -r1.75 *** init.inc.php 14 Sep 2005 20:44:55 -0000 1.74 --- init.inc.php 5 Oct 2005 00:29:13 -0000 1.75 *************** *** 2,6 **** // uncomment when developing, comment for shipping version ! error_reporting (E_ERROR | E_WARNING | E_PARSE); // Older versions of PHP do not define $_SERVER. Define it here instead. --- 2,6 ---- // uncomment when developing, comment for shipping version ! //error_reporting (E_ERROR | E_WARNING | E_PARSE); // Older versions of PHP do not define $_SERVER. Define it here instead. *************** *** 49,56 **** // language support $language = strtolower($language); ! $lang_file = BASE.'/languages/'.$language.'.inc.php'; ! if (file_exists(realpath($lang_file))) { ! unset($lang); include($lang_file); } else { --- 49,56 ---- // language support $language = strtolower($language); ! $lang_file = BASE.'languages/'.$language.'.inc.php'; ! unset($lang); ! if (include($lang_file)) { include($lang_file); } else { |