From: Brett O'C. <oco...@do...> - 2002-11-05 19:57:40
|
Hello PHPiCalendar Developers! I recently installed PHPiCalendar on a Linux 7.3 / PHP 4.2.3 server and=20= had some problems regarding the code below (lines 37-40 in=20 functions/init.inc.php): if (file_exists($lang_file)) { include($lang_file); } else { exit(error('The requested language "'.$language.'" is not a = supported=20 language. Please use the configuration file to choose a supported=20 language.')); }=00=00 It appears that file_exists will be false if the web user running under=20= apache does not have permission to peruse the full directory string (or=20= at least that's what I suspect so far). I also noticed someone else had this problem in this forum message: http://phpicalendar.sourceforge.net/phpBB2/viewtopic.php?t=3D92&highlight=3D= S/he was having this problem on Linux also. I just commented out the if statement for now and forced the include=20 and things work great, but I thought you would like to know about this=20= bug. If I am able to come up with a better solution (perhaps a way to=20= check for the file via URL string?) I will let you know. Brett -- Brett O'Connor Dogheadbone LLC P.O. Box 171 Littleton, CO 80160 Phone: 303.797.2992 AIM: BrettDHB E-Mail: oco...@do... Web: http://www.dogheadbone.com/= |