Chris wrote:Try adding the calendar directory to the include path:> Hello,
> I have a calendar on my site in an extra directory <calendar> in root i have
> a site where i include the calendar with:<?php include("calendar"); ?> which
> works fine so far but the calendar contains links to files in the calendar
> directory but now it tries to find this files in the root directory why? Is
> there a easy way to fix that?
> If I move all the files to the root directory it works fine but it becomes
<?php // calendar
$calendar_dir = '/home/chris/public_html/calendar/';
set_include_path(get_include_path() . ':' . $calendar_dir);
If you're using windows, I guess the path separator should be ";"
I have a spam filter working.
To mail me include "urkxvq" (with or without the quotes)
in the subject line, or your mail will be ruthlessly discarded.