function $dispatcher->setDefaultModule("xxx") is unable to set default module from index to others
PHP - Manual: Yaf_Dispatcher::setDefaultModule
2024-11-15
(Yaf >=1.0.0)
Yaf_Dispatcher::setDefaultModule — 设置路由的默认模块
module
function $dispatcher->setDefaultModule("xxx") is unable to set default module from index to others
function $dispatcher->setDefaultModule("xxx") is unable to set default module from index to others
Yaf_Dispatcher::setDefaultModule is not effective.
yaf version 2.2.9
官方地址:https://www.php.net/manual/en/yaf-dispatcher.setdefaultmodule.php