From 6a8d10b4e9e01f6a55922e639b111b08bea15744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 15 Sep 2020 20:18:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Snowflake.php | 1 - function.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/System/Snowflake.php b/System/Snowflake.php index d7aa49ce..e35947f2 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -349,7 +349,6 @@ class Snowflake public static function autoload($className) { if (!isset(static::$_autoload[$className])) { - var_dump($className); return; } $file = static::$_autoload[$className]; diff --git a/function.php b/function.php index 232c056d..26456c23 100644 --- a/function.php +++ b/function.php @@ -73,7 +73,7 @@ if (!function_exists('instance_load')) { function instance_load() { - $content = json_decode(file_get_contents(__DIR__ . '/../composer.json'), true); + $content = json_decode(file_get_contents(__DIR__ . '/composer.json'), true); if (isset($content['autoload']) && isset($content['autoload']['psr-4'])) { $psr4 = $content['autoload']['psr-4']; foreach ($psr4 as $namespace => $dirname) {