Under Weiphp, a new portal file is created, and the related structure is generated automatically.
Portal 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 Section Code
/* 模块相关配置 */ 'AUTOLOAD_NAMESPACE' => array('Addons' => ONETHINK_ADDON_PATH), //扩展模块列表 '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.thinkphp.cn/code/756.html
Unable to resolve auto jump to login page problem, ask for help!
Reply content:
Under Weiphp, a new portal file is created, and the related structure is generated automatically.
Portal 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 Section Code
/* 模块相关配置 */ 'AUTOLOAD_NAMESPACE' => array('Addons' => ONETHINK_ADDON_PATH), //扩展模块列表 '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.thinkphp.cn/code/756.html
Unable to resolve auto jump to login page problem, ask for help!