Skip to content

Commit

Permalink
Remove preload.php even here now that is possible to avoid issues dur…
Browse files Browse the repository at this point in the history
…ing startup of lighty
  • Loading branch information
Ermal committed Jan 4, 2013
1 parent 59d7657 commit f16a2be
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 72 deletions.
6 changes: 0 additions & 6 deletions etc/inc/system.inc
Expand Up @@ -696,12 +696,6 @@ function system_webgui_start() {
/* attempt to start lighthttpd */
$res = mwexec("/usr/local/sbin/lighttpd -f {$g['varetc_path']}/lighty-webConfigurator.conf");

/* fetch page to preload apc cache */
$proto = "http";
if ($config['system']['webgui']['protocol'])
$proto = $config['system']['webgui']['protocol'];
mwexec_bg("/usr/bin/fetch -o /dev/null -q {$proto}://localhost:{$portarg}/preload.php");

if ($g['booting']) {
if ($res == 0)
echo "done.\n";
Expand Down
66 changes: 0 additions & 66 deletions usr/local/www/preload.php

This file was deleted.

0 comments on commit f16a2be

Please sign in to comment.