more config and web page stuff
[CBFWR.git] / libcbfwr / web.php
index aa039a8..eba5ce0 100644 (file)
@@ -22,6 +22,14 @@ class CBFWWeb {
        {
                $url = "/";
                $bodycontent = null;
+               
+               $conf = new Config();
+               $conf->loadConfig();
+               $rconfig = $conf->getConfig();
+               
+               if($rconfig["status"] != "conf") cbfw_startinstaller();
+               
+               
                if(isset($_REQUEST["q"])) {
                        $url = $_REQUEST["q"];