Skip to content

Commit

Permalink
fixed hidev own version showing
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Jan 16, 2016
1 parent 5d775fa commit 60fba25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/base/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ public function createControllerByID($id)
/// skip start for init goal
if ($this->_first) {
$this->_first = false;
if ($id !== 'init') {
static $skips = ['init' => 1, 'clone' => 1, 'version' =>1];
if (!$skips[$id]) {
$this->runRequest('start');
}
}
Expand Down

0 comments on commit 60fba25

Please sign in to comment.