diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/head.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/head.inc b/usr/local/www/head.inc index 97c7111..84ad1e3 100755 --- a/usr/local/www/head.inc +++ b/usr/local/www/head.inc @@ -7,7 +7,7 @@ * if user has selected a custom template, use it. * otherwise default to pfsense tempalte */ -if($config['theme'] <> "") +if($config['theme'] <> "" && (is_dir($g["www_path"].'/themes/'.$config['theme'])) $g['theme'] = $config['theme']; else $g['theme'] = "pfsense"; |