Browse Source

Make sure conf.pl doesn't barf on $theme values from old configs.

stevetruckstuff 19 năm trước cách đây
mục cha
commit
318d6dfd19
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      config/conf.pl

+ 5 - 0
config/conf.pl

@@ -241,6 +241,11 @@ while ( $line = <FILE> ) {
             $sub =~ s/\'\]//;
             $sub =~ s/^fontsets\[\'//;
             $fontsets{$sub} = $options[1];
+        } elsif ( $options[0] =~ /^theme\[[0-9]+\]\[['"]PATH|NAME['"]\]/ ) {
+        	##
+        	## $color themes are no longer supported.  Please leave this
+        	## so conf.pl doesn't barf if it encounters a $theme.
+        	##
         } elsif ( $options[0] =~ /^ldap_server\[[0-9]+\]/ ) {
             $sub = $options[0];
             $sub =~ s/\]//;