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