mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Migrated fix with DynamicConfig installed flag to CLI
This commit is contained in:
parent
12973ab474
commit
2f3862893c
@ -13,7 +13,7 @@ $dotenv = Dotenv\Dotenv::createImmutable(__DIR__ . '/../', '.env');
|
||||
$dotenv->safeLoad();
|
||||
|
||||
$dynamicConfig = (is_readable(__DIR__ . '/config/dynamic.php')) ? require(__DIR__ . '/config/dynamic.php') : [];
|
||||
$debug = !!($_ENV['HUMHUB_DEBUG'] ?? false) || !$dynamicConfig['params']['installed'];
|
||||
$debug = !!($_ENV['HUMHUB_DEBUG'] ?? false) || !($dynamicConfig['params']['installed'] ?? false);
|
||||
|
||||
defined('YII_DEBUG') or define('YII_DEBUG', $debug);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user