Index: common.php =================================================================== --- common.php (revision 8546) +++ common.php (working copy) @@ -253,9 +253,13 @@ die(); } - if (is_dir($homedir."/install") && $debug<2) +if (is_dir($homedir."/install") && $debug<2) { - die ("
Everything is fine - you just forgot to delete or rename your LimeSurvey installation directory (/admin/install).
Please do so since it may be a security risk."); + rmdirr($homedir."/install"); + if (is_dir($homedir."/install") && $debug<2) + { + die ("
Everything is fine - you just forgot to delete or rename your LimeSurvey installation directory (/admin/install).
Please do so since it may be a security risk."); + } } } @@ -7507,4 +7511,4 @@ } if (empty($right)) return true; if (isset($cache[$sid][$uid][$right]) && $cache[$sid][$uid][$right] == 1) return true; else return false; -} \ No newline at end of file +}