diff options
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 23e9b64..3d5f807 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -997,6 +997,14 @@ url.access-deny = ( "~", ".inc" ) ######### Options that are good to be but not neccesary to be changed ####### ## bind to port (default: 80) + +EOD; + + if($captive_portal == true) + $lighty_config .= "server.bind = \"127.0.0.1\"\n"; + + $lighty_config .= <<<EOD + server.port = {$lighty_port} ## error-handler for status 404 |