]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/style.php
Make the site admin theme setting link go to the currently selected theme
[friendica.git] / view / theme / vier / style.php
index 4dfbe4e268f1a837c1b1f2adc15c4ee09c454fcd..69bfc78d88abfff0347a98c99db71df7b4f4b921 100644 (file)
@@ -22,6 +22,8 @@ if (empty($style)) {
 $stylecss = '';
 $modified = '';
 
+$style = \Friendica\Util\Strings::sanitizeFilePathItem($style);
+
 foreach (['style', $style] as $file) {
        $stylecssfile = $THEMEPATH . DIRECTORY_SEPARATOR . $file .'.css';
        if (file_exists($stylecssfile)) {