mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
Only allow container dumping if env APP_CONTAINER_DUMP
This commit is contained in:
@@ -178,7 +178,9 @@ class Application extends SilexApplication
|
|||||||
ini_set('log_errors', 'on');
|
ini_set('log_errors', 'on');
|
||||||
ini_set('error_log', $this['root.path'].'/logs/php_error.log');
|
ini_set('error_log', $this['root.path'].'/logs/php_error.log');
|
||||||
}
|
}
|
||||||
$this->register(new PimpleDumpProvider());
|
if ('allowed' == getenv('APP_CONTAINER_DUMP')) {
|
||||||
|
$this->register(new PimpleDumpProvider());
|
||||||
|
}
|
||||||
|
|
||||||
$this->register(new ConfigurationServiceProvider());
|
$this->register(new ConfigurationServiceProvider());
|
||||||
$this->register(new MonologServiceProvider());
|
$this->register(new MonologServiceProvider());
|
||||||
|
Reference in New Issue
Block a user