Merge pull request #9972 from MrPetovan/task/9971-frio-default-theme

Make frio the default theme
This commit is contained in:
Michael Vogel 2021-03-02 19:32:05 +01:00 committed by GitHub
commit 501e0b398f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -58,7 +58,7 @@ return [
// allowed_themes (Comma-separated list) // allowed_themes (Comma-separated list)
// Themes users can change to in their settings. // Themes users can change to in their settings.
'allowed_themes' => 'quattro,vier,duepuntozero,smoothly', 'allowed_themes' => 'frio,quattro,vier,duepuntozero,smoothly',
// curl_timeout (Integer) // curl_timeout (Integer)
// Value is in seconds. Set to 0 for unlimited (not recommended). // Value is in seconds. Set to 0 for unlimited (not recommended).
@ -184,7 +184,7 @@ return [
// theme (String) // theme (String)
// System theme name. // System theme name.
'theme' => 'vier', 'theme' => 'frio',
// url (String) // url (String)
// The fully-qualified URL of this Friendica node. // The fully-qualified URL of this Friendica node.

View file

@ -49,7 +49,7 @@ $a->config['php_path'] = '/another/php';
$a->config['system']['huburl'] = '[internal]'; $a->config['system']['huburl'] = '[internal]';
// allowed themes (change this from admin panel after installation) // allowed themes (change this from admin panel after installation)
$a->config['system']['allowed_themes'] = 'quattro,vier,duepuntozero'; $a->config['system']['allowed_themes'] = 'frio,quattro,vier,duepuntozero';
// default system theme // default system theme
$a->config['system']['theme'] = 'frio'; $a->config['system']['theme'] = 'frio';

View file

@ -176,7 +176,7 @@ class ConfigFileLoaderTest extends MockedTest
self::assertEquals('999', $configCache->get('config', 'max_import_size')); self::assertEquals('999', $configCache->get('config', 'max_import_size'));
self::assertEquals('666', $configCache->get('system', 'maximagesize')); self::assertEquals('666', $configCache->get('system', 'maximagesize'));
self::assertEquals('quattro,vier,duepuntozero', $configCache->get('system', 'allowed_themes')); self::assertEquals('frio,quattro,vier,duepuntozero', $configCache->get('system', 'allowed_themes'));
self::assertEquals('1', $configCache->get('system', 'no_regfullname')); self::assertEquals('1', $configCache->get('system', 'no_regfullname'));
} }