修正数据库驱动类

This commit is contained in:
thinkphp
2013-04-10 15:48:28 +08:00
parent 94fcd0c484
commit 65c1759138
3 changed files with 14 additions and 14 deletions

View File

@@ -40,7 +40,7 @@ Config::load(THINK_PATH.'convention.php');
Log::init(['type'=>Config::get('log_type'),'log_path'=> Config::get('log_path')]);
// 缓存初始化
//Cache::connect(['type'=>Config::get('cache_type'),'temp'=> CACHE_PATH]);
Cache::connect(['type'=>'File','temp'=> CACHE_PATH]);
// 注册行为扩展
//Tag::add('content_filter','ContentReplace','Think');