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