1
0
Fork 0

Make frio the default theme

This commit is contained in:
Hypolite Petovan 2021-03-01 10:20:44 -05:00
parent 5b655a9768
commit 9c0549128b
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'));
} }