diff --git a/install.php b/install.php index 32915200b2..bc82e5e37a 100644 --- a/install.php +++ b/install.php @@ -35,15 +35,17 @@ function main() function checkPrereqs() { + $pass = true; + if (file_exists(INSTALLDIR.'/config.php')) { ?>

Config file "config.php" already exists.

Require PHP version 5 or greater.

Cannot load required extension:

Cannot write config file to:

On your server, try this command: chmod a+w

Cannot write avatar directory: /avatar/

On your server, try this command: chmod a+w /avatar/