diff --git a/src/Controller/Component/InstallComponent.php b/src/Controller/Component/InstallComponent.php index 685bb59..6e2300c 100644 --- a/src/Controller/Component/InstallComponent.php +++ b/src/Controller/Component/InstallComponent.php @@ -34,7 +34,7 @@ public function installationCheck() // reset Database.installed to false if (!$this->_changeConfiguration()){ - $this->Flash->error(__('Cannot modify Database.installed variable in /plugins/Installer/config/bootstrap.php; you must manually update this to true to prevent a later install from overwriting your configuration!')); + $this->Flash->error(__('Cannot modify Database.installed variable in {0}bootstrap.php; you must manually update this to true to prevent a later install from overwriting your configuration!', PLUGIN_CONFIG)); } return $this->_registry->getController()->redirect(['plugin' => 'Installer', 'controller' => 'Install', 'action' => 'index']); } else { diff --git a/src/Controller/InstallController.php b/src/Controller/InstallController.php index c5d86d7..1f41088 100644 --- a/src/Controller/InstallController.php +++ b/src/Controller/InstallController.php @@ -233,7 +233,7 @@ public function finish() { $d['title_for_layout'] = __('Installation Complete'); if (!$this->_changeConfiguration()){ - $this->Flash->error(__('Cannot modify Database.installed variable in /plugins/Installer/config/bootstrap.php; you must manually update this to true to prevent a later install from overwriting your configuration!')); + $this->Flash->error(__('Cannot modify Database.installed variable in {0}bootstrap.php; you must manually update this to true to prevent a later install from overwriting your configuration!', PLUGIN_CONFIG)); } $this->set($d);