From 18d5131fc16c2a49fa5ee5204b36ded7104894b4 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 8 Jan 2013 14:24:32 -0800 Subject: this should fix pcss --- mod/view.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'mod/view.php') diff --git a/mod/view.php b/mod/view.php index 965e18067..9e5eff962 100644 --- a/mod/view.php +++ b/mod/view.php @@ -4,14 +4,12 @@ */ 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/php/style.php")) - require_once("view/theme/$theme/php/style.php"); - } - + $theme = argv(2); + $THEMEPATH = "view/theme/$theme"; + if(file_exists("view/theme/$theme/php/style.php")) + require_once("view/theme/$theme/php/style.php"); killme(); } -- cgit v1.2.3