Skip to content

Commit

Permalink
Install Plugin available by default
Browse files Browse the repository at this point in the history
Install  PT_BR  Bugfix
  • Loading branch information
paulo committed Jul 6, 2015
1 parent c61b6ea commit efcc6f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Config/bootstrap_phapp.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//CakePlugin::load('DebugKit');
//CakePlugin::load('PrintReport', array('bootstrap' => true, 'routes' => false));
//CakePlugin::load('CsvView', array('bootstrap' => true, 'routes' => false));
//CakePlugin::load('Install', array('bootstrap' => false, 'routes' => false));
CakePlugin::load('Install', array('bootstrap' => false, 'routes' => false));

/**
* Languages available
Expand Down
2 changes: 1 addition & 1 deletion app/Plugin/Install/Controller/InstallController.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public function index() {
$this->_check();
if (isset($this->data['Install']['language']) && $this->data['Install']['language'] != '') {
$this->Session->write('User.language', $this->data['Install']['language']);
Configure::write('Config.language', $this->Session->read('User.language'));
$this->redirect(array('action' => 'index'));
}
$this->set('title_for_layout', __('Installation: Welcome'));
$this->set('title_for_step', __('Installation: Welcome'));
Expand Down

0 comments on commit efcc6f6

Please sign in to comment.