X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2Frender%2FThemeUtils.php;h=18471f0a21eb9f5624d80887f0c39844aee146a1;hb=53054b2bf6a919fd4ff9b44b6ad1986f21f488b6;hp=86096c64476bf655626633efb692b0a9b352eacc;hpb=e09bb93e18a333eff8e6a4156f5b58ba9c7d25cd;p=github%2Fshaarli%2FShaarli.git diff --git a/application/render/ThemeUtils.php b/application/render/ThemeUtils.php index 86096c64..18471f0a 100644 --- a/application/render/ThemeUtils.php +++ b/application/render/ThemeUtils.php @@ -23,10 +23,10 @@ class ThemeUtils public static function getThemes($tplDir) { $tplDir = rtrim($tplDir, '/'); - $allTheme = glob($tplDir.'/*', GLOB_ONLYDIR); + $allTheme = glob($tplDir . '/*', GLOB_ONLYDIR); $themes = []; foreach ($allTheme as $value) { - $themes[] = str_replace($tplDir.'/', '', $value); + $themes[] = str_replace($tplDir . '/', '', $value); } return $themes;