summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-03-05 15:44:31 +0000
committerErmal Luçi <eri@pfsense.org>2010-03-05 15:44:31 +0000
commit3435dc355623202f3fc890fca3275c5fd89f35fb (patch)
tree9ee3f1b956f08a01bc79b82ba91287b6f046dfef
parent907b435ac8559c4e353dbdd4fb969c465973d142 (diff)
downloadpfsense-3435dc355623202f3fc890fca3275c5fd89f35fb.zip
pfsense-3435dc355623202f3fc890fca3275c5fd89f35fb.tar.gz
Make sure we have initialized vars.
-rw-r--r--etc/inc/system.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 800abaa..c322459 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -740,6 +740,8 @@ function system_generate_lighty_config($filename,
exec("chmod a-w {$g['tmp_path']}/captiveportal");
$server_max_request_size = "server.max-request-size = 384";
} else {
+ $captiveportal = "";
+ $captive_portal_rewrite = "";
$captive_portal_module = "";
$captive_portal_mod_evasive = "";
$server_upload_dirs = "server.upload-dirs = ( \"{$g['upload_path']}/\", \"{$g['tmp_path']}/\", \"/var/\" )\n";
@@ -835,6 +837,7 @@ cgi.assign = ( ".php" => "/usr/local/bin/php",
EOD;
}
+ $lighty_config = "";
$lighty_config .= <<<EOD
#
# lighttpd configuration file
OpenPOWER on IntegriCloud