From ee171fa9638fde3cc2d21ac4c6fd7bdba6853506 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 22 Jun 2016 10:31:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Loader=E7=B1=BB=E7=9A=84addNa?= =?UTF-8?q?mespaceAlias=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Loader.php b/library/think/Loader.php index e9faf8f0..316bd4c2 100644 --- a/library/think/Loader.php +++ b/library/think/Loader.php @@ -114,7 +114,7 @@ class Loader public static function addNamespaceAlias($namespace, $original = '') { if (is_array($namespace)) { - self::$namespaceAlias = array_merge(self::$namespace, $namespace); + self::$namespaceAlias = array_merge(self::$namespaceAlias, $namespace); } else { self::$namespaceAlias[$namespace] = $original; }