From: Brett O'C. <oco...@do...> - 2002-11-05 23:19:03
|
Groovey. That worked with everything else set back to normal. So yea, wierdness. <shrug> Maybe something to do with RH 7.3? Though I can't imagine why. I have been reluctant to upgrade to 8.0. Anyway, I agree that setting $BASE off of getcwd() would be a good idea. However, you guys are really doing a great service to us all, so I won't complain if I have to make a tweak or two to get things working for now. :) Thanks so much! Brett On Tuesday, November 5, 2002, at 03:56 PM, Waitman C. Gobble wrote: > well, perhaps it is a bug in php/apache. > it seems to work fine on my rh 8.0 running apache 2.0.40 / php 4.2.3 > > reminds me of a problem that USED to exist on windows machines. > > anyhow, i recommend changing the code in init.inc.php to: > > $lang_file = getcwd().'/languages/'.$language.'.inc.php'; > > this should probably prevent trouble even if there isn't trouble to > begin with ;-) > > can you give that a try and see what happens? please be sure to change > remove the stuff you had commented out previously to get the thing to > work without yelling at you on the file_exists line... > > > actually, i will suggest that in the main code the constant BASE be > turned into a variable $BASE throughout all the scripts, and set $BASE > to getcwd(); I know constants are nice but this isn't really improving > performance a noticeable amount. > > > take care! > > Waitman -- 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/ |