diff options
-rwxr-xr-x | usr/local/www/guiconfig.inc | 11 | ||||
-rwxr-xr-x | usr/local/www/head.inc | 9 |
2 files changed, 10 insertions, 10 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index b333145..c3a914d 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -47,6 +47,15 @@ require_once("auth.inc"); require_once("config.inc"); require_once("functions.inc"); +/* + * if user has selected a custom template, use it. + * otherwise default to pfsense tempalte + */ +if($config['theme'] <> "") + $g['theme'] = $config['theme']; +else + $g['theme'] = "pfsense"; + $d_hostsdirty_path = $g['varrun_path'] . "/hosts.dirty"; $d_natconfdirty_path = $g['varrun_path'] . "/nat.conf.dirty"; $d_filterconfdirty_path = $g['varrun_path'] . "/filter.conf.dirty"; @@ -609,4 +618,4 @@ function ipsec_ca_sort() { } -?>
\ No newline at end of file +?> diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index adf8d2a..59ea217 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -1,13 +1,4 @@ <?php -/* - * if user has selected a custom template, use it. - * otherwise default to pfsense tempalte - */ -if($config['theme'] <> "") - $g['theme'] = $config['theme']; -else - $g['theme'] = "pfsense"; -?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> |