mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Default to http.
This commit is contained in:
parent
06f619150f
commit
eb0f4fc69e
@ -690,7 +690,10 @@ function system_webgui_start() {
|
||||
$res = mwexec("/usr/local/sbin/lighttpd -f {$g['varetc_path']}/lighty-webConfigurator.conf");
|
||||
|
||||
/* fetch page to preload apc cache */
|
||||
mwexec("fetch -o /dev/null -q {$config['system']['webgui']['protocol']}://localhost:{$portarg}/preload.php");
|
||||
$proto = "http";
|
||||
if ($config['system']['webgui']['protocol'])
|
||||
$proto = $config['system']['webgui']['protocol'];
|
||||
mwexec("/usr/bin/fetch -o /dev/null -q {$proto}://localhost:{$portarg}/preload.php");
|
||||
|
||||
if ($g['booting']) {
|
||||
if ($res == 0)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user