mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 09:41:49 +08:00
Merge
This commit is contained in:
commit
f7b6d8a568
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user