throw_exception方法简化为E方法

删除redirect方法和N方法
This commit is contained in:
thinkphp
2013-03-31 10:15:32 +08:00
parent 0a0a8d0dce
commit 7890bca611
27 changed files with 85 additions and 217 deletions

View File

@@ -20,7 +20,7 @@ class File {
mkdir($dir,0755,true);
// 生成模板缓存文件
if( false === file_put_contents($cacheFile,$content))
throw_exception('_CACHE_WRITE_ERROR_:'.$cacheFile);
E('_CACHE_WRITE_ERROR_:'.$cacheFile);
}
// 读取编译编译