summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-12-21 03:29:04 -0500
committerChris Buechler <cmb@pfsense.org>2009-12-21 03:29:04 -0500
commit7321c93c81634a013937b6716f2ecf7917f5d638 (patch)
treee83600c8072c2dae4b6d8fd2f25c90e77d8ae404 /usr/local/www/system.php
parentcf36049547cd4fa2bcfdf6cd755b31a8d0e8d2d0 (diff)
downloadpfsense-7321c93c81634a013937b6716f2ecf7917f5d638.zip
pfsense-7321c93c81634a013937b6716f2ecf7917f5d638.tar.gz
fix for disabled theme selection
Diffstat (limited to 'usr/local/www/system.php')
-rwxr-xr-xusr/local/www/system.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/system.php b/usr/local/www/system.php
index 2fd286a..7a4b0be 100755
--- a/usr/local/www/system.php
+++ b/usr/local/www/system.php
@@ -161,7 +161,9 @@ if ($_POST) {
update_if_changed("NTP update interval", $config['system']['time-update-interval'], $_POST['timeupdateinterval']);
/* pfSense themes */
- update_if_changed("System Theme", $config['theme'], $_POST['theme']);
+ if (! $g['disablethemeselection']) {
+ update_if_changed("System Theme", $config['theme'], $_POST['theme']);
+ }
/* XXX - billm: these still need updating after figuring out how to check if they actually changed */
unset($config['system']['dnsserver']);
OpenPOWER on IntegriCloud