|
From: Waitman C. G. <wa...@em...> - 2002-11-06 22:08:54
|
great.
what do you think about changing the constant BASE to a variable, and
setting it to getcwd()
?
there was a report of a bug in php 4.2.3 with apache 2.0.43 the messed
up the file_exists call. i have seen this bug in previous versions of
php, not sure why it has apparently resurfaced, but using the full path
with getcwd fixes the problem.
the change would simply prevent future incidence.
the getcwd() should be used in a single place, with a note :
in case some ISP has this function blocked in their php.ini
configuration file, the user can manually place the full path in the
$BASE variable and remove the getcwd() call.
otherwise, perhaps we could check to see if the function is available
and default to the "./" thing.
thanks!
waitman
On Wed, 2002-11-06 at 11:26, Bill Fenner wrote:
Waitman said:
>i noticed a problem with
>http://www.emkdemo.com/phpicalendar-0.8.1/rss/index.php
>
>i was getting a "WARNING: failed to include fle ./header.inc.php on line
>17" at the top of the page.
I changed this to use BASE like the include of the footer.
I also fixed the problem that descriptions weren't being included
in the rss feed.
Bill
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Phpicalendar-devel mailing list
Php...@li...
https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel
|