Update DebugHandlersListener.php
This commit is contained in:
parent
4aebd3a086
commit
f9f862f6af
@ -137,7 +137,7 @@ class DebugHandlersListener implements EventSubscriberInterface
|
||||
{
|
||||
$events = array(KernelEvents::REQUEST => array('configure', 2048));
|
||||
|
||||
if ('cli' === php_sapi_name() && defined('Symfony\Component\Console\ConsoleEvents::COMMAND')) {
|
||||
if ('cli' === PHP_SAPI && defined('Symfony\Component\Console\ConsoleEvents::COMMAND')) {
|
||||
$events[ConsoleEvents::COMMAND] = array('configure', 2048);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user