mirror of
https://github.com/flarum/core.git
synced 2025-07-23 17:51:24 +02:00
Merge
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user