From 2290e37b9703ba0b64b53a71f1dc65d73475966f Mon Sep 17 00:00:00 2001 From: Christian Wahler Date: Mon, 3 Mar 2014 18:10:33 +0100 Subject: [PATCH] Use PHP 5.3 compatible array syntax --- PHPCI/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPCI/Application.php b/PHPCI/Application.php index 3f20c3ed..cc2cb885 100644 --- a/PHPCI/Application.php +++ b/PHPCI/Application.php @@ -24,7 +24,7 @@ class Application extends b8\Application { $request =& $this->request; $route = '/:controller/:action'; - $opts = ['controller' => 'Home', 'action' => 'index']; + $opts = array('controller' => 'Home', 'action' => 'index'); $this->router->clearRoutes(); $this->router->register($route, $opts, function (&$route, Response &$response) use (&$request)