small change for PHP 5.3 compatibility

This commit is contained in:
Gerrit Drost 2014-05-19 09:28:43 +02:00
parent cdd6296749
commit ae5e383c02

View File

@ -80,7 +80,7 @@ class App {
$this->_server = new IoServer(new HttpServer(new Router(new UrlMatcher($this->routes, new RequestContext))), $socket, $loop); $this->_server = new IoServer(new HttpServer(new Router(new UrlMatcher($this->routes, new RequestContext))), $socket, $loop);
if ($flashAllowedHosts === false) { if ($flashAllowedHosts === false) {
$flashAllowedHosts = [ 80 => $httpHost ]; $flashAllowedHosts = array( 80 => $httpHost );
} }
$policy = new FlashPolicy(); $policy = new FlashPolicy();