The Admin controller code is as follows & amp; lt ;? Php is automatically generated by the system and used for testing only. classIndexActionextendsAction {publicfunctionindex () {$ this-& amp; gt; redirect (& #039; Loginlogin & #039 ;);} the address is 192. 168...
Directory
The Admin controller code is as follows:
// This class is automatically generated by the system for testing purposes only
Class IndexAction extends Action {
Public function index (){
$ This-> redirect ('login/login ');
}
The address uses http: // 192.168.88.88/hqzc/Admin. php/to access the controller. at last, it jumps to the Login/login under the APP.
I don't know why? 20172087976 contact me if you want to view the source code
Reply content:
Directory
The Admin controller code is as follows:
// This class is automatically generated by the system for testing purposes only
Class IndexAction extends Action {
Public function index (){
$ This-> redirect ('login/login ');
}
The address uses http: // 192.168.88.88/hqzc/Admin. php/to access the controller. at last, it jumps to the Login/login under the APP.
I don't know why? 20172087976 contact me if you want to view the source code
The solution was not solved. later, THINKPHP of the latest version used the grouping mode.
Do you see this in the entry file in the manual?
Why do I still use 3. 1 ......
$ This-> redirect ('admin/Login/login ');
If you still jump to the App, it will be a bit dizzy...
Admin. php is bound to the group?
define('BIND_MODULE','Admin');
It's not clear about 3.1. do you think this constant is helpful to you?