Kimai 1.4.2 (#1167)

This commit is contained in:
Kevin Papst
2019-10-14 12:30:11 +02:00
committed by GitHub
parent ae6ed3f23f
commit de533e7031
6 changed files with 12 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ if (!isset($_SERVER['APP_ENV'])) {
(new Dotenv(true))->load(__DIR__.'/../.env');
}
$env = $_SERVER['APP_ENV'] ?? 'dev';
$env = $_SERVER['APP_ENV'] ?? 'prod';
$debug = $_SERVER['APP_DEBUG'] ?? ('prod' !== $env);
if ($debug) {