Skip to content

Commit e5ea61a

Browse files
committed
Merge pull request #9 from jdpanderson/master
Support phpdbg SAPI as a command-line environment.
2 parents d063b9f + ac78ead commit e5ea61a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Vectorface/SnappyRouter/SnappyRouter.php

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public function handleRoute($environment = null)
6060

6161
switch ($environment) {
6262
case 'cli':
63+
case 'phpdbg':
6364
$components = empty($_SERVER['argv']) ? array() : $_SERVER['argv'];
6465
return $this->handleCliRoute($components).PHP_EOL;
6566
default:

0 commit comments

Comments
 (0)