diff options
| author | 2014-01-17 22:12:26 +0100 | |
|---|---|---|
| committer | 2014-01-17 22:12:26 +0100 | |
| commit | 3d9d054f43f649863e575ba31138d372a504bc58 (patch) | |
| tree | e4937b17641c7579e9deb8dbda02c93f5b6bad34 | |
| parent | 73682777a37ab511291986400d29273866f86fc9 (diff) | |
Mise à jour des noms des thèmes dans install
Corrige
https://github.com/marienfressinaud/FreshRSS/issues/327#issuecomment-32630046
(Pas encore testé)
| -rw-r--r-- | p/i/install.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/p/i/install.php b/p/i/install.php index e81b76c14..08ed9ccb9 100644 --- a/p/i/install.php +++ b/p/i/install.php @@ -466,6 +466,19 @@ function checkStep0 () { } else { $userConfig = array(); } + if (isset($userConfig['theme'])) { + switch (strtolower($userConfig['theme'])) { + case 'default': //v0.6 + $userConfig['theme'] = 'Origine'; + break; + case 'flat-design': //v0.6 + $userConfig['theme'] = 'Flat'; + break; + case 'default_dark': //v0.6 + $userConfig['theme'] = 'Dark'; + break; + } + } $keys = array('language', 'old_entries', 'mail_login'); foreach ($keys as $key) { |
