X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=blobdiff_plain;f=gwvplib%2Fgwvpsetup.php;h=a9e7a06e18cc61377bf5e81a403c7cfa90b50d47;hp=11161560ce6b0f5bb6f3e4ecd60eb5856044effa;hb=4f4bf1da18181d412cd755143e016ede587cc1d6;hpb=d6d341a5742ed8021fa768c924846e04d46156e1 diff --git a/gwvplib/gwvpsetup.php b/gwvplib/gwvpsetup.php index 1116156..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(); }