修正App类一处错误

This commit is contained in:
ThinkPHP
2013-04-20 16:25:52 +08:00
parent ef8434da54
commit ef82de8fa5

View File

@@ -214,8 +214,7 @@ class App {
if('favicon.ico' == strtolower(MODULE_NAME)){
exit;
}
throw new Exception('module not exists :' . MODULE_NAME, 404);
E('module not exists :' . MODULE_NAME);
}
// 路由检测和控制器、操作解析
Route::check($_SERVER['PATH_INFO']);