#1 ghfhaifeng
是这样的,我设的是相对路径如"./themes/js/......"
现在在main.php里有一个判断需要跳转,是这样写的,
if($this->user_id == ""){
$this->error('请先登录', spUrl('main', 'login'));
}
我在本地测试的路径是http://localhost:81/easyoa/index.php?c=main&a=index
然后要跳转到http://localhost:81/easyoa/index.php?c=main&a=login
但现在执行后跳转的是http://localhost:81/index.php?c=main&a=index 这个,没有文件名了,直接跳转到根目录了,
需要怎么设置 ?
急急急
2014-04-23 10:35:47