模式定义文件调整

This commit is contained in:
thinkphp
2016-05-25 12:04:53 +08:00
parent f0c84ac46b
commit 4ccb4c6bdf
4 changed files with 102 additions and 89 deletions

View File

@@ -11,6 +11,9 @@
namespace think; namespace think;
use think\Debug;
use think\Log;
class Hook class Hook
{ {

View File

@@ -11,6 +11,10 @@
namespace think; namespace think;
use think\Cache;
use think\Config;
use think\Route;
class Url class Url
{ {
/** /**

View File

@@ -38,10 +38,13 @@ return [
'think\Error' => CORE_PATH . 'Error' . EXT, 'think\Error' => CORE_PATH . 'Error' . EXT,
'think\Exception' => CORE_PATH . 'Exception' . EXT, 'think\Exception' => CORE_PATH . 'Exception' . EXT,
'think\exception\DbException' => CORE_PATH . 'exception' . DS . 'DbException' . EXT, 'think\exception\DbException' => CORE_PATH . 'exception' . DS . 'DbException' . EXT,
'think\exception\Handle' => CORE_PATH . 'exception' . DS . 'Handle' . EXT,
'think\exception\HttpException' => CORE_PATH . 'exception' . DS . 'HttpException' . EXT,
'think\exception\HttpResponseException' => CORE_PATH . 'exception' . DS . 'HttpResponseException' . EXT,
'think\exception\PDOException' => CORE_PATH . 'exception' . DS . 'PDOException' . EXT, 'think\exception\PDOException' => CORE_PATH . 'exception' . DS . 'PDOException' . EXT,
'think\exception\ErrorException' => CORE_PATH . 'exception' . DS . 'ErrorException' . EXT, 'think\exception\ErrorException' => CORE_PATH . 'exception' . DS . 'ErrorException' . EXT,
'think\exception\DbBindParamException' => CORE_PATH . 'exception' . DS . 'DbBindParamException' . EXT, 'think\exception\DbBindParamException' => CORE_PATH . 'exception' . DS . 'DbBindParamException' . EXT,
'think\exception\NotFoundException' => CORE_PATH . 'exception' . DS . 'NotFoundException' . EXT, 'think\exception\ThrowableError' => CORE_PATH . 'exception' . DS . 'ThrowableError' . EXT,
'think\File' => CORE_PATH . 'File' . EXT, 'think\File' => CORE_PATH . 'File' . EXT,
'think\Hook' => CORE_PATH . 'Hook' . EXT, 'think\Hook' => CORE_PATH . 'Hook' . EXT,
'think\Input' => CORE_PATH . 'Input' . EXT, 'think\Input' => CORE_PATH . 'Input' . EXT,

View File

@@ -82,10 +82,13 @@ return [
'think\Error' => CORE_PATH . 'Error' . EXT, 'think\Error' => CORE_PATH . 'Error' . EXT,
'think\Exception' => CORE_PATH . 'Exception' . EXT, 'think\Exception' => CORE_PATH . 'Exception' . EXT,
'think\exception\DbException' => CORE_PATH . 'exception' . DS . 'DbException' . EXT, 'think\exception\DbException' => CORE_PATH . 'exception' . DS . 'DbException' . EXT,
'think\exception\Handle' => CORE_PATH . 'exception' . DS . 'Handle' . EXT,
'think\exception\HttpException' => CORE_PATH . 'exception' . DS . 'HttpException' . EXT,
'think\exception\HttpResponseException' => CORE_PATH . 'exception' . DS . 'HttpResponseException' . EXT,
'think\exception\PDOException' => CORE_PATH . 'exception' . DS . 'PDOException' . EXT, 'think\exception\PDOException' => CORE_PATH . 'exception' . DS . 'PDOException' . EXT,
'think\exception\ErrorException' => CORE_PATH . 'exception' . DS . 'ErrorException' . EXT, 'think\exception\ErrorException' => CORE_PATH . 'exception' . DS . 'ErrorException' . EXT,
'think\exception\DbBindParamException' => CORE_PATH . 'exception' . DS . 'DbBindParamException' . EXT, 'think\exception\DbBindParamException' => CORE_PATH . 'exception' . DS . 'DbBindParamException' . EXT,
'think\exception\NotFoundException' => CORE_PATH . 'exception' . DS . 'NotFoundException' . EXT, 'think\exception\ThrowableError' => CORE_PATH . 'exception' . DS . 'ThrowableError' . EXT,
'think\File' => CORE_PATH . 'File' . EXT, 'think\File' => CORE_PATH . 'File' . EXT,
'think\Hook' => CORE_PATH . 'Hook' . EXT, 'think\Hook' => CORE_PATH . 'Hook' . EXT,
'think\Input' => CORE_PATH . 'Input' . EXT, 'think\Input' => CORE_PATH . 'Input' . EXT,