Under WeiPHP, an entry file is created and the relevant structure is automatically generated. The ingress file cannot be resolved automatically... under WeiPHP, the portal file is created automatically and the related structure is generated.
Entry File Code
5.3.0 !');define('APP_DEBUG', true );define('BIND_MODULE','Manager');define('BUILD_CONTROLLER_LIST','Index,User,Pay,Log,JingJia,HongBao,Ads');define('BUILD_MODEL_LIST','User,Pay,Log,JingJia,HongBao,Ads');define ( 'APP_PATH', './Application/' );define ( 'RUNTIME_PATH', './Runtime/' );require './ThinkPHP/ThinkPHP.php';
Application/Common/Conf/config. php file code
/* MODULE configuration */'autoload _ NAMESPACE '=> array ('addons' => ONETHINK_ADDON_PATH), // list of extended modules 'default _ module' => 'home ', 'module _ DENY_LIST '=> array ('common', 'user'), 'module _ ALLOW_LIST' => array ('manager', 'home', 'admin '),
I found this, but it's useless.
Http://www.thinkphp1.cn/code/756.html
Unable to solve the problem of automatically jump to the logon page. Please help!
Reply content:
Under WeiPHP, an entry file is created and the relevant structure is automatically generated.
Entry File Code
5.3.0 !');define('APP_DEBUG', true );define('BIND_MODULE','Manager');define('BUILD_CONTROLLER_LIST','Index,User,Pay,Log,JingJia,HongBao,Ads');define('BUILD_MODEL_LIST','User,Pay,Log,JingJia,HongBao,Ads');define ( 'APP_PATH', './Application/' );define ( 'RUNTIME_PATH', './Runtime/' );require './ThinkPHP/ThinkPHP.php';
Application/Common/Conf/config. php file code
/* MODULE configuration */'autoload _ NAMESPACE '=> array ('addons' => ONETHINK_ADDON_PATH), // list of extended modules 'default _ module' => 'home ', 'module _ DENY_LIST '=> array ('common', 'user'), 'module _ ALLOW_LIST' => array ('manager', 'home', 'admin '),
I found this, but it's useless.
Http://www.thinkphp1.cn/code/756.html
Unable to solve the problem of automatically jump to the logon page. Please help!