mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
Re-dump autoloader and composer.lock
This commit is contained in:
@@ -108,7 +108,7 @@ class SymfonyRuntime extends GenericRuntime
|
||||
|
||||
if (isset($this->input) && ($options['dotenv_overload'] ?? false)) {
|
||||
if ($this->input->getParameterOption(['--env', '-e'], $_SERVER[$envKey], true) !== $_SERVER[$envKey]) {
|
||||
throw new \LogicException(sprintf('Cannot use "--env" or "-e" when the "%s" file defines "%s" and the "dotenv_overload" runtime option is true.', $options['dotenv_path'] ?? '.env', $envKey));
|
||||
throw new \LogicException(\sprintf('Cannot use "--env" or "-e" when the "%s" file defines "%s" and the "dotenv_overload" runtime option is true.', $options['dotenv_path'] ?? '.env', $envKey));
|
||||
}
|
||||
|
||||
if ($_SERVER[$debugKey] && $this->input->hasParameterOption('--no-debug', true)) {
|
||||
@@ -207,7 +207,7 @@ class SymfonyRuntime extends GenericRuntime
|
||||
|
||||
private function getInput(): ArgvInput
|
||||
{
|
||||
if (!empty($_GET) && filter_var(ini_get('register_argc_argv'), \FILTER_VALIDATE_BOOL)) {
|
||||
if (!empty($_GET) && filter_var(\ini_get('register_argc_argv'), \FILTER_VALIDATE_BOOL)) {
|
||||
throw new \Exception('CLI applications cannot be run safely on non-CLI SAPIs with register_argc_argv=On.');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user