Skip to content

Commit

Permalink
Merge pull request #9 from jdpanderson/master
Browse files Browse the repository at this point in the history
Support phpdbg SAPI as a command-line environment.
  • Loading branch information
jdpanderson committed Nov 11, 2015
2 parents d063b9f + ac78ead commit e5ea61a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Vectorface/SnappyRouter/SnappyRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public function handleRoute($environment = null)

switch ($environment) {
case 'cli':
case 'phpdbg':
$components = empty($_SERVER['argv']) ? array() : $_SERVER['argv'];
return $this->handleCliRoute($components).PHP_EOL;
default:
Expand Down

0 comments on commit e5ea61a

Please sign in to comment.