X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FTheme.php;h=c904f1defd1848e8fd8f08a7ac45c016393f349e;hb=bb1517a74c6252a89812929e98910d9e293664a9;hp=0540267af71787ab759b487ea5576bd8aeca3406;hpb=d1d7fa394af30c62a853c375ba4614ba9afe4a24;p=friendica.git diff --git a/src/Module/Theme.php b/src/Module/Theme.php index 0540267af7..c904f1defd 100644 --- a/src/Module/Theme.php +++ b/src/Module/Theme.php @@ -1,8 +1,28 @@ . + * + */ namespace Friendica\Module; use Friendica\BaseModule; +use Friendica\DI; use Friendica\Util\Strings; /** @@ -10,11 +30,11 @@ use Friendica\Util\Strings; */ class Theme extends BaseModule { - public static function rawContent() + public static function rawContent(array $parameters = []) { header("Content-Type: text/css"); - $a = self::getApp(); + $a = DI::app(); if ($a->argc == 4) { $theme = $a->argv[2];