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) {