diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-28 18:29:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-28 18:29:40 +0000 |
commit | f3e2c205a1d8a9605b952a6bfed10ec8f6e868ea (patch) | |
tree | 0b6912a906d8e13e5d59e77ea692de10cb4cc977 /usr/local/www/index.php | |
parent | c70c4e8a30a985ac9596d84fd4d54d386d4840e4 (diff) | |
download | pfsense-f3e2c205a1d8a9605b952a6bfed10ec8f6e868ea.zip pfsense-f3e2c205a1d8a9605b952a6bfed10ec8f6e868ea.tar.gz |
Define guiconfig.inc early on.
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-x | usr/local/www/index.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php index b98b86a..832074a 100755 --- a/usr/local/www/index.php +++ b/usr/local/www/index.php @@ -32,6 +32,8 @@ POSSIBILITY OF SUCH DAMAGE. */ +require("guiconfig.inc"); + if(file_exists("/usr/local/www/trigger_initial_wizard")) { conf_mount_rw(); unlink("/usr/local/www/trigger_initial_wizard"); @@ -45,8 +47,6 @@ if(file_exists("/usr/local/www/trigger_initial_wizard")) { exit; } -require("guiconfig.inc"); - /* find out whether there's hardware encryption (hifn) */ unset($hwcrypto); $fd = @fopen("{$g['varlog_path']}/dmesg.boot", "r"); @@ -106,7 +106,6 @@ $cpuUsage = round(100 * (1 - $diff['idle'] / $totalDiff), 0); return $cpuUsage; } - ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> |