Skip to content

Commit

Permalink
Dev: Fix the path to config file to disable the installer.
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@11752 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
GautamGupta committed Dec 24, 2011
1 parent 70300fb commit fce2b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/InstallerController.php
Expand Up @@ -107,7 +107,7 @@ public function run($action = 'index')
*/
function _checkInstallation()
{
if (file_exists(Yii::app()->getConfig('rootdir').'/config/config.php'))
if (file_exists(APPPATH . 'config/config.php'))
{
throw new CHttpException(500, 'Installation has been done already. Installer disabled.');
exit();
Expand Down

0 comments on commit fce2b79

Please sign in to comment.