X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fview.php;h=15b3733b3fc974f45dcb21d2c2bec7a3728b6ef3;hb=45748da8a1d0580e5f1cd81c34ec3b807ed8ea3b;hp=a270baeaa1425f2faa850d1d21c662875412adf6;hpb=0c764684bb32a9432fd161e62db907efb78af1a5;p=friendica.git diff --git a/mod/view.php b/mod/view.php index a270baeaa1..15b3733b3f 100644 --- a/mod/view.php +++ b/mod/view.php @@ -2,18 +2,16 @@ /** * load view/theme/$current_theme/style.php with friendica contex */ - -if(! function_exists('view_init')) { -function view_init($a) { + +function view_init($a){ header("Content-Type: text/css"); - + if ($a->argc == 4){ $theme = $a->argv[2]; $THEMEPATH = "view/theme/$theme"; if(file_exists("view/theme/$theme/style.php")) require_once("view/theme/$theme/style.php"); } - + killme(); } -}