修正Request类的baseUrl方法 修正Hook类的警告错误

This commit is contained in:
thinkphp
2016-05-25 10:29:25 +08:00
parent 44e86a7f53
commit 1a02bb7081
4 changed files with 5 additions and 4 deletions

View File

@@ -51,3 +51,4 @@ define('IS_CGI', strpos(PHP_SAPI, 'cgi') === 0 ? 1 : 0);
define('IS_CLI', PHP_SAPI == 'cli' ? 1 : 0);
define('IS_WIN', strstr(PHP_OS, 'WIN') ? 1 : 0);
define('IS_MAC', strstr(PHP_OS, 'Darwin') ? 1 : 0);
define('NOW_TIME', $_SERVER['REQUEST_TIME']);