diff --git a/index.php b/index.php index 396bd4827..da7fc7d90 100644 --- a/index.php +++ b/index.php @@ -29,6 +29,6 @@ * are sent here to be handled and served. */ require 'lib/FrontController.php'; -FrontController::run (); +FrontController::run ($argv); ?> \ No newline at end of file diff --git a/lib/FrontController.php b/lib/FrontController.php index 5a46f86ab..58c3c3dc9 100644 --- a/lib/FrontController.php +++ b/lib/FrontController.php @@ -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