mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-09-03 13:51:38 +08:00
Controll更改为Controller
This commit is contained in:
@@ -36,9 +36,9 @@ class LocationTemplate {
|
||||
$template = str_replace(':','/',$template);
|
||||
if(''==$template) {
|
||||
// 如果模板文件名为空 按照默认规则定位
|
||||
$template = CONTROLL_NAME.'/'.ACTION_NAME;
|
||||
$template = CONTROLLER_NAME.'/'.ACTION_NAME;
|
||||
}elseif(false === strpos($template,'/')){
|
||||
$template = CONTROLL_NAME.'/'.$template;
|
||||
$template = CONTROLLER_NAME.'/'.$template;
|
||||
}elseif(false === strpos($template,'.')) {
|
||||
$template = $template;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user