]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Theme.php
Tests ...
[friendica.git] / src / Module / Theme.php
index 1282fc783f47e8161f18180d2c82ab66b597826d..6c164b5ba5e26f11fdd20e4fba40fe162dc5e327 100644 (file)
@@ -30,11 +30,11 @@ use Friendica\Util\Strings;
  */
 class Theme extends BaseModule
 {
-       public static function rawContent(array $parameters = [])
+       public function rawContent()
        {
                header('Content-Type: text/css');
 
-               $theme = Strings::sanitizeFilePathItem($parameters['theme']);
+               $theme = Strings::sanitizeFilePathItem($this->parameters['theme']);
 
                if (file_exists("view/theme/$theme/theme.php")) {
                        require_once "view/theme/$theme/theme.php";