X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fquattro%2Fstyle.php;h=cca458a254ff4529b84d7bc3ca0c9cf646fe38f5;hb=2aea2861432fe4035363333a6de214a5c9e601a3;hp=08756ec4aa63bc16685d2b6aacccbc102d3e93d6;hpb=2fbf1d54e25429f3de030fb2846c9e516e87187d;p=friendica.git diff --git a/view/theme/quattro/style.php b/view/theme/quattro/style.php index 08756ec4aa..cca458a254 100644 --- a/view/theme/quattro/style.php +++ b/view/theme/quattro/style.php @@ -26,6 +26,8 @@ if ($quattro_align === false) { $quattro_align = $site_quattro_align; } +$color = \Friendica\Util\Strings::sanitizeFilePathItem($color); + if (file_exists("$THEMEPATH/$color/style.css")) { echo file_get_contents("$THEMEPATH/$color/style.css"); }