]> git.mxchange.org Git - friendica.git/commitdiff
Make frio the default theme
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 1 Mar 2021 15:20:44 +0000 (10:20 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 1 Mar 2021 15:20:44 +0000 (10:20 -0500)
static/settings.config.php
tests/datasets/config/.htconfig.php
tests/src/Util/Config/ConfigFileLoaderTest.php

index c05e675edb76012961a2e72034f472d399379307..db898c3323389433ea4772cf880be198c9e9ac39 100644 (file)
@@ -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.
index 04e3e9cc967f13e3f9de9aca622f8cdb58aeb838..7ab35bb28e65a29018d574627a52d66f7799bedf 100644 (file)
@@ -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';
index 43ee8b84a971a0d4a4a74a8810be9ceef52c0efd..ef793f1fa1d40a45cad45053150428a671a3eb07 100644 (file)
@@ -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'));
        }