fixing up the "is setup" check in the installer
[gwvp.git] / gwvplib / gwvpsetup.php
index aa0eaf1..a9e7a06 100644 (file)
@@ -27,7 +27,10 @@ function gwvp_PostSetupPageBody()
 // 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();
 }