|
From: <cl...@us...> - 2004-05-22 23:51:12
|
Update of /cvsroot/phpicalendar/phpicalendar/functions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5182/functions Modified Files: init.inc.php Log Message: Fix for: [ 958694 ] '"english" is not a supported language.' bug continues Index: init.inc.php =================================================================== RCS file: /cvsroot/phpicalendar/phpicalendar/functions/init.inc.php,v retrieving revision 1.60 retrieving revision 1.61 diff -C2 -d -r1.60 -r1.61 *** init.inc.php 14 May 2004 21:09:16 -0000 1.60 --- init.inc.php 22 May 2004 23:51:03 -0000 1.61 *************** *** 1,8 **** <?php - // jared-2002.10.30, I want to make sure my published calendars are world-read/writeable - // so I have this making sure they all are. This should be commented out/deleted - // for shipping versions. This is a convenience so when I commit, changes are made and - // I don't get errors. - //chmod(BASE.'calendars/School.ics',0666); // uncomment when developing, comment for shipping version --- 1,3 ---- *************** *** 56,60 **** $lang_file = BASE.'/languages/'.$language.'.inc.php'; ! if (file_exists($lang_file)) { include($lang_file); } else { --- 51,55 ---- $lang_file = BASE.'/languages/'.$language.'.inc.php'; ! if (file_exists(realpath($lang_file))) { include($lang_file); } else { |