Browse Source

Make frio the default theme

pull/9972/head
Hypolite Petovan 1 year ago
parent
commit
9c0549128b
  1. 4
      static/settings.config.php
  2. 2
      tests/datasets/config/.htconfig.php
  3. 2
      tests/src/Util/Config/ConfigFileLoaderTest.php

4
static/settings.config.php

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

2
tests/datasets/config/.htconfig.php

@ -49,7 +49,7 @@ $a->config['php_path'] = '/another/php';
$a->config['system']['huburl'] = '[internal]';
// 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
$a->config['system']['theme'] = 'frio';

2
tests/src/Util/Config/ConfigFileLoaderTest.php

@ -176,7 +176,7 @@ class ConfigFileLoaderTest extends MockedTest
self::assertEquals('999', $configCache->get('config', 'max_import_size'));
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'));
}

Loading…
Cancel
Save