treat phpdbg the same as php-cli

This commit is contained in:
Shish
2018-07-15 19:40:53 +01:00
parent 2417b5b021
commit 8b2c580930
2 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ try {
// start the page generation waterfall
$user = _get_user();
if(PHP_SAPI === 'cli') {
if(PHP_SAPI === 'cli' || PHP_SAPI == 'phpdbg') {
send_event(new CommandEvent($argv));
}
else {