Skip to content

Commit

Permalink
Fixed stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
PeeHaa committed Jan 22, 2016
1 parent 8600051 commit 9813018
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions cli/run.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

namespace Room11\Platter\Cli;

use Aerys\Host;

require_once __DIR__ . '/../bootstrap.php';

foreach ($hosts as $name => $host) {
(new Host)
->name($name)
->expose($host[0], $host[1])
->use($router)
->use(\Aerys\root(__DIR__ . '/../public'))
;
}

(new \Aerys\Host)
->name($name)
->expose($host[0], $host[1])
->use($router)
->use(\Aerys\root(__DIR__ . '/../public'))
;

0 comments on commit 9813018

Please sign in to comment.