New Zenner
- Join Date:
- Sep 2007
- Posts:
- 60
- Plugin Contributions:
- 0
how do include a file outside the zencart directory
for my zencart is at dev.lapsf.com/estore folder
when trying to edit a file in the zencart by adding an include such as:
require_once('/left_nav.html');
(in order to get the file located at dev.lapsf.com/left_nav.html)
i get this error:
Warning: main(/left_nav.html) [function.main]: failed to open stream:
No such file or directory in
D:\Share\Client_Sites\lapsf.com\estore\includes\templates\lapsf\common\tpl_main_page.php
on line 57
Fatal error: main() [function.require]: Failed opening required
'/left_nav.html' (include_path='.;C:\php5\pear') in
D:\Share\Client_Sites\lapsf.com\estore\includes\templates\lapsf\common\tpl_main_page.php
on line 57
why doesnt the "/" refer to the root directory.. is there a filepath setting i need to change? am i insane!??!