summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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