Skip to content

Commit

Permalink
Fixed cli support in FrontController
Browse files Browse the repository at this point in the history
  • Loading branch information
jbroadway committed Mar 2, 2014
1 parent f0873f3 commit 7b3dcbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -29,6 +29,6 @@
* are sent here to be handled and served.
*/
require 'lib/FrontController.php';
FrontController::run ();
FrontController::run ($argv);

?>
2 changes: 1 addition & 1 deletion lib/FrontController.php
Expand Up @@ -40,7 +40,7 @@ class FrontController {
* The front controller only has one static method, `run()`, which
*
*/
public static function run () {
public static function run ($argv) {
/**
* For compatibility with PHP 5.4's built-in web server, we bypass
* the front controller for requests with file extensions and
Expand Down

0 comments on commit 7b3dcbf

Please sign in to comment.