类库别名和调用修正

增加sae日志驱动
改进Hook类的exec方法
行为扩展优先检测标签方法 不存在则调用run方法
NOW_TIME改用REQUEST_TIME_FLOAT
变量命名规范
This commit is contained in:
thinkphp
2015-02-24 10:45:34 +08:00
parent 20bd23c7d1
commit d28e27270c
16 changed files with 148 additions and 102 deletions

View File

@@ -23,9 +23,9 @@ require CORE_PATH.'loader.php';
Loader::register();
// 注册错误和异常处理机制
register_shutdown_function(['Think\Error','appShutdown']);
set_error_handler(['Think\Error','appError']);
set_exception_handler(['Think\Error','appException']);
register_shutdown_function(['think\Error','appShutdown']);
set_error_handler(['think\Error','appError']);
set_exception_handler(['think\Error','appException']);
// 加载模式定义文件
$mode = require MODE_PATH.APP_MODE.EXT;