From e2409f9c01eb374bc6a531eb507d4190f5130dfc Mon Sep 17 00:00:00 2001 From: stevetruckstuff Date: Wed, 4 Oct 2006 18:58:55 +0000 Subject: [PATCH] Make sure conf.pl doesn't barf on $theme values from old configs. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11828 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- config/conf.pl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/conf.pl b/config/conf.pl index 47f59a22..e69b3f0e 100755 --- a/config/conf.pl +++ b/config/conf.pl @@ -241,6 +241,11 @@ while ( $line = ) { $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/\]//; -- 2.25.1