![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
碰上个很无奈的问题,在windows下的相对路径不好用!
比如
Business/page/common/header.php
Business/libs/PsycheSmarty.php
我在header.php中 include ('../../libs/PsycheSmarty.php');
他报错误:
Warning: include_once(../../libs/PsycheSmarty.php) [function.include-once]: failed to open stream: No such file or directory in D:\WEB\Business\Business\pages\common\header.php on line 2
Warning: include_once() [function.include]: Failed opening '../../libs/PsycheSmarty.php' for inclusion (include_path='.;C:\php5\pear') in D:\WEB\Business\Business\pages\common\header.php on line 2
我的phg.ini文件中的include_path是被我注释的;
我用的是smarty是不是跟这个有关系?
搞不懂请大侠们帮忙
[ 本帖最后由 yeyunan 于 2007-5-15 03:41 PM 编辑 ]
提问者:yeyunan 08-22 15:03
答复

