fixing up the "is setup" check in the installer
[gwvp.git] / gwvplib / gwvpsetup.php
index 1116156..a9e7a06 100644 (file)
@@ -21,13 +21,16 @@ function gwvp_PostSetup()
 
 function gwvp_PostSetupPageBody()
 {
-       echo "GWVP Is now setup, login at the top of the page and you should in control!";
+       echo "GWVP Is now setup, login at the top of the page and you should be in control!";
 }
 
 // TODO: need to do this bit
 function gwvp_issetup()
 {
-       return true;
+       // check for the config file
+       if(!file_exists("config.php")) return false;
+        
+       return gwvp_isDBSetup();
 }