X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=blobdiff_plain;f=gwvplib%2Fgwvpsetup.php;h=a9e7a06e18cc61377bf5e81a403c7cfa90b50d47;hp=a6d63acc971a45ea124d99fd8318ebd7469df7f7;hb=4f4bf1da18181d412cd755143e016ede587cc1d6;hpb=047523a5083efd83dcd94b6d2763c9fddb913c90
diff --git a/gwvplib/gwvpsetup.php b/gwvplib/gwvpsetup.php
index a6d63ac..a9e7a06 100644
--- a/gwvplib/gwvpsetup.php
+++ b/gwvplib/gwvpsetup.php
@@ -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();
}
@@ -87,7 +90,7 @@ function gwvp_goSetupGoMain()
echo "
Site Name
Some Name for your site
";
echo "
First User Full Name
The name of the admin of your site
";
echo "
First User email address
The email address of the admin of your site (login)