mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 07:32:48 +08:00
修正错误
This commit is contained in:
@@ -53,7 +53,7 @@ class Url
|
|||||||
if (empty($var['action'])) {
|
if (empty($var['action'])) {
|
||||||
$var['action'] = !empty($path) ? array_pop($path) : ACTION_NAME;
|
$var['action'] = !empty($path) ? array_pop($path) : ACTION_NAME;
|
||||||
}
|
}
|
||||||
if (empty($var['controller']) {
|
if (empty($var['controller'])) {
|
||||||
$var['controller'] = !empty($path) ? array_pop($path) : CONTROLLER_NAME;
|
$var['controller'] = !empty($path) ? array_pop($path) : CONTROLLER_NAME;
|
||||||
}
|
}
|
||||||
if (APP_MULTI_MODULE && empty($var['module'])) {
|
if (APP_MULTI_MODULE && empty($var['module'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user