mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 23:26:27 +03:00
Merge pull request #381
This commit is contained in:
@@ -16,7 +16,7 @@ if (!isset($_SERVER['APP_ENV'])) {
|
||||
}
|
||||
|
||||
$env = $_SERVER['APP_ENV'] ?? 'dev';
|
||||
$debug = (bool) $_SERVER['APP_DEBUG'] ?? ('prod' !== $env);
|
||||
$debug = (bool) ($_SERVER['APP_DEBUG'] ?? ('prod' !== $env));
|
||||
|
||||
if ($debug) {
|
||||
umask(0000);
|
||||
|
||||
Reference in New Issue
Block a user