取消 CONTROLLER_LAYER MODEL_LAYER VIEW_LAYER VALIDATE_LAYER 常量 增加url_controller_layer 配置参数

This commit is contained in:
thinkphp
2016-06-01 16:34:24 +08:00
parent bebe73e5a7
commit 12196d21b8
11 changed files with 36 additions and 39 deletions

View File

@@ -96,7 +96,7 @@ class Php
if (strpos($template, '@')) {
list($module, $template) = explode('@', $template);
$path = APP_PATH . $module . DS . VIEW_LAYER . DS;
$path = APP_PATH . $module . DS . 'view' . DS;
} else {
$path = $this->config['view_path'];
}