summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2010-11-11 16:39:28 +0100
committerSeth Mos <seth.mos@dds.nl>2010-11-11 16:39:28 +0100
commit5b6661d89c533d6e7a9eaa21e2045263652fd5a6 (patch)
tree7f848b398c95c987f64c250ade2142b12766b73c /etc/inc/system.inc
parent4f66ad1f6bc9710c737082587ae44d27e29f0a15 (diff)
downloadpfsense-5b6661d89c533d6e7a9eaa21e2045263652fd5a6.zip
pfsense-5b6661d89c533d6e7a9eaa21e2045263652fd5a6.tar.gz
Fix more typos, I can't code for toffees
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index 970f6c3..52f75ee 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -1060,14 +1060,14 @@ EOD;
if($captive_portal == true) {
$lighty_config .= "server.bind = \"127.0.0.1\"\n";
$lighty_config .= "server.port = {$lighty_port}\n";
- $lighty_config .= "$SERVER["socket"] == \"127.0.0.1:443\" { }\n";
- $lighty_config .= "$SERVER["socket"] == \"[::1]:443\" { }\n";
+ $lighty_config .= "\$SERVER[\"socket\"] == \"127.0.0.1:443\" { }\n";
+ $lighty_config .= "\$SERVER[\"socket\"] == \"[::1]:443\" { }\n";
} else {
- $lighty_config .= "server.bind = \"0.0.0.0\"\n;
+ $lighty_config .= "server.bind = \"0.0.0.0\"\n";
$lighty_config .= "server.port = {$lighty_port}\n";
- $lighty_config .= "$SERVER["socket"] == \"0.0.0.0:443\" { }\n";
- $lighty_config .= "$SERVER["socket"] == \"[::]:443\" { }\n";
+ $lighty_config .= "\$SERVER[\"socket\"] == \"0.0.0.0:443\" { }\n";
+ $lighty_config .= "\$SERVER[\"socket\"] == \"[::]:443\" { }\n";
}
OpenPOWER on IntegriCloud