sae模式定义文件规范

This commit is contained in:
thinkphp
2015-12-27 22:21:05 +08:00
parent f4197aecc4
commit 92e2e25c19

View File

@@ -12,11 +12,9 @@
/**
* ThinkPHP SAE应用模式定义文件
*/
$convention_config = include THINK_PATH . 'convention' . EXT;
return [
// 配置文件
'config' => array_merge($convention_config,[
'config' => array_merge(include THINK_PATH . 'convention' . EXT, [
/* 数据库设置 */
'database' => [
// 数据库类型
@@ -67,8 +65,6 @@ return [
// 别名定义
'alias' => [
'think\App' => CORE_PATH . 'app' . EXT,
'think\Cache' => CORE_PATH . 'cache' . EXT,
'think\Config' => CORE_PATH . 'config' . EXT,
@@ -95,8 +91,6 @@ return [
'think\template\driver\File' => CORE_PATH . 'template' . DS . 'driver' . DS . 'file' . EXT,
'think\log\driver\File' => CORE_PATH . 'log' . DS . 'driver' . DS . 'file' . EXT,
'think\cache\driver\File' => CORE_PATH . 'cache' . DS . 'driver' . DS . 'file' . EXT,
'think\Slog' => CORE_PATH . 'slog'.EXT,
'think\log\driver\Sae' => CORE_PATH . 'log' . DS . 'driver' . DS . 'sae' . EXT,
'think\cache\driver\Sae' => CORE_PATH . 'cache' . DS . 'driver' . DS . 'sae' . EXT,
'think\template\driver\Sae' => CORE_PATH . 'template' . DS . 'driver' . DS . 'sae' . EXT,