X-Git-Url: http://git.pjr.cc/?p=CBFWR.git;a=blobdiff_plain;f=libcbfwr%2Fweb.php;fp=libcbfwr%2Fweb.php;h=87e7bf46854b638e92e9a194eb357f183a15ba33;hp=66e7cdf23d2a481d8a3508bf2be6eff19ae11716;hb=c184472f1c4206a3bcd76ff8e9d27dc2eb1a4c4c;hpb=0f5458e4a9c18595f7d9501880011369e4e65942
diff --git a/libcbfwr/web.php b/libcbfwr/web.php
index 66e7cdf..87e7bf4 100644
--- a/libcbfwr/web.php
+++ b/libcbfwr/web.php
@@ -26,10 +26,15 @@ class CBFWWeb {
$bodycontent = null;
$conf = new Config();
- $conf->loadConfig();
+ $comms = new Comms();
+ $conf->loadConfig($comms->getConfig(0));
$rconfig = $conf->getConfig();
if($rconfig["status"] != "conf") {
+ if($rconfig["status"] == "nodir") {
+ cbfw_startnodir();
+ return 0;
+ }
cbfw_startinstaller();
return 0;
}
@@ -292,5 +297,15 @@ Now, tell me where you want me to create the webconfig file:
+
+