diff --git a/install3.php b/install3.php index f8868b5..a89bd29 100644 --- a/install3.php +++ b/install3.php @@ -59,7 +59,7 @@ mysql_select_db($DBNAME); } //a fresh install should ONLY have DBVERSION defined in the config table. If there are others (FAIRYEAR, SFIABDIRECTORY) then this is NOT fresh -$q=mysql_query("SELECT * FROM config WHERE year='0'"); +$q=mysql_query("SELECT * FROM config WHERE year='0' AND ( var='DBVERSION' OR var='FAIRYEAR' OR var='SFIABDIRECTORY') "); //we might get an error if the config table does not exist (ie, installer step 2 failed) if(mysql_error()) {