From: Eric Helgeson Date: Wed, 20 May 2009 21:39:08 +0000 (-0500) Subject: Removed return from 1st line of runDbScript() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a3280961d2d92724dcdb451192450662f26eee8e;p=quix0rs-gnu-social.git Removed return from 1st line of runDbScript() fixed broken html tag on success page. handlePost() now will show as many errors as it can (instead of one at a time) checkPrereqs() will show all errors at once instead of failing on first one, installer will be able to try to fix all instead of fixing one at a time and trying again. writeConf(): added if LACONICA is !defined exit Tests: drop database and remove config.php, ran installer. Passed. --- diff --git a/install.php b/install.php index a25f694677..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/