Skip to content

Commit

Permalink
Merge pull request #11 from kinglozzer/patch-1
Browse files Browse the repository at this point in the history
Remove PHP 5.4 [] array syntax from main.php
  • Loading branch information
camspiers committed Nov 4, 2014
2 parents ad4dca8 + a6a4e63 commit 92f1296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

$container = Injector::inst();

$session = $container->create('Session', []);
$session = $container->create('Session', array());
if (Session::request_contains_session_id()) {
$session->inst_start();
}

$container->get('RequestProcessor')->preRequest($request, $session, DataModel::inst());

require_once __DIR__.'/../framework/main.php';
require_once __DIR__.'/../framework/main.php';

0 comments on commit 92f1296

Please sign in to comment.