aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-08 14:24:32 -0800
committerfriendica <info@friendica.com>2013-01-08 14:25:42 -0800
commit18d5131fc16c2a49fa5ee5204b36ded7104894b4 (patch)
tree91f8b790ca36cedaf6457b85f8189d163424a053
parent948644bd46036202a098416eee546aab5d0bf978 (diff)
downloadvolse-hubzilla-18d5131fc16c2a49fa5ee5204b36ded7104894b4.tar.gz
volse-hubzilla-18d5131fc16c2a49fa5ee5204b36ded7104894b4.tar.bz2
volse-hubzilla-18d5131fc16c2a49fa5ee5204b36ded7104894b4.zip
this should fix pcss
-rw-r--r--mod/view.php12
1 files changed, 5 insertions, 7 deletions
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();
}