Revision 168a1e48
Added by Seth Mos about 15 years ago
etc/inc/upgrade_config.inc | ||
---|---|---|
1935 | 1935 |
} |
1936 | 1936 |
} |
1937 | 1937 |
|
1938 |
function upgrade_061_to_062() { |
|
1939 |
/* Upgrade legacy Themes to the new pfsense_ng */ |
|
1940 |
global $config; |
|
1941 |
|
|
1942 |
switch($config['theme']) { |
|
1943 |
"nervecenter": |
|
1944 |
$config['theme'] = "pfsense_ng"; |
|
1945 |
break; |
|
1946 |
} |
|
1947 |
|
|
1948 |
} |
|
1938 | 1949 |
?> |
Also available in: Unified diff
Make sure to upgrade deprecated themes to pfsense_ng.
The switch() should make it easy to add other deprecated themes here.