1
0
mirror of https://github.com/flarum/core.git synced 2025-07-23 09:41:26 +02:00
This commit is contained in:
Toby Zerner
2015-07-04 12:28:50 +09:30

View File

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