This commit is contained in:
Toby Zerner 2015-07-04 12:28:50 +09:30
commit f7b6d8a568

View File

@ -9,7 +9,7 @@ class Core
public static function inDebugMode() public static function inDebugMode()
{ {
return app('flarum.config')['debug']; return static::isInstalled() && app('flarum.config')['debug'];
} }
public static function config($key, $default = null) public static function config($key, $default = null)