我在练习某个thinphp实战项目,是学籍管理系统,后台登陆跳转无法从登陆页面跳转到管理页面 不知道为什么!
登陆form
admin控制器
display(index); //显示管理员主界面
}
}
?>
就出现这样的
无法加载模块:admin
错误位置
file: f:\wamp\www\xuesheng\thinkphp\library\think\dispatcher.class.php line: 166
trace
#0 f:\wamp\www\xuesheng\thinkphp\library\think\dispatcher.class.php(166): e('?...')
#1 f:\wamp\www\xuesheng\thinkphp\library\think\app.class.php(26): think\dispatcher::dispatch()
#2 f:\wamp\www\xuesheng\thinkphp\library\think\app.class.php(172): think\app::init()
#3 f:\wamp\www\xuesheng\thinkphp\library\think\think.class.php(117): think\app::run()
#4 f:\wamp\www\xuesheng\thinkphp\thinkphp.php(94): think\think::start()
#5 f:\wamp\www\xuesheng\admin.php(24): require('f:\wamp\www\xue...')
#6 {main}
thinkphp3.2.1 { fast & simple oop php framework } -- [ we can do it just think ]
------解决思路----------------------
class admincontroller extends controller {
admin/index method=post>
改为
admin/index method=post>
