
May 27th, 2004, 10:20 PM
|
|
|
|
Join Date: Apr 2007
Posts: 11
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Unsure how to modify require_once($ltw_config['include_dir'].'/ltw_classes.php'); when using calendar.php as include
I am including calendar.php as an include in the table of another .php file, using the following code:
php Code:
Original
- php Code |
|
|
|
elseif ($click1=="edcalendar") { include("calendar/calendar.php");
When I load the main page, I am getting the error:
Warning: main(./private/ltw_classes.php): failed to open stream: No such file or directory in /home/biz/barton/WWW/bartonhealth.org/NEW_SITE/EDUCATION/calendar/calendar.php on line 33
Fatal error: main(): Failed opening required './private/ltw_classes.php' (include_path='.:/usr/share/pear') in /home/biz/barton/WWW/bartonhealth.org/NEW_SITE/EDUCATION/calendar/calendar.php on line 33
I am unsure how to modify the code on line 33 of calendar.php:
php Code:
Original
- php Code |
|
|
|
require_once($ltw_config['include_dir'].'/ltw_classes.php');
in order to get the correct path.
|