Skip to content

Commit

Permalink
fixing the error in the installer checking if the install is already …
Browse files Browse the repository at this point in the history
…done
  • Loading branch information
dogmatic69 committed May 31, 2012
1 parent 18bbb34 commit 1a19dbf
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Core/Installer/Controller/InstallController.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,8 @@ public function beforeFilter() {

public function index($step = null) {
if(filesize(APP . 'Config' . DS . 'database.php') > 0 && $this->Session->read('installing') == false) {
$this->notice(
__('Infinitas has already been installed'),
array(
'redirect' => true
)
);
$this->Session->setFlash(__d('installer', 'Infinitas has already been installed'));
$this->redirect('/');
}

$this->Session->write('installing', true);
Expand Down

0 comments on commit 1a19dbf

Please sign in to comment.