mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-02 13:12:49 +08:00
throw_exception方法简化为E方法
删除redirect方法和N方法
This commit is contained in:
@@ -44,7 +44,7 @@ class LocationTemplate {
|
||||
}
|
||||
$templateFile = MODULE_PATH.'view/'.$template.'.html';
|
||||
if(!is_file($templateFile))
|
||||
throw_exception(L('_TEMPLATE_NOT_EXIST_').'['.$templateFile.']');
|
||||
E(L('_TEMPLATE_NOT_EXIST_').'['.$templateFile.']');
|
||||
return $templateFile;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user