aboutsummaryrefslogtreecommitdiffstats
path: root/mod/view.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-30 15:12:20 -0700
committerfriendica <info@friendica.com>2012-03-30 15:12:20 -0700
commitaace55df0ad279d74c5e612078c3f29d114389dc (patch)
treeec1318b325ec3dc5ab2bc4ded5dae1c657b8fc7b /mod/view.php
parentcfdfcb37cbed8354e9f6c025a6e9ccadafc2d625 (diff)
parent007d67a998eb8f26228ddd22bb0323d54af9af8c (diff)
downloadvolse-hubzilla-aace55df0ad279d74c5e612078c3f29d114389dc.tar.gz
volse-hubzilla-aace55df0ad279d74c5e612078c3f29d114389dc.tar.bz2
volse-hubzilla-aace55df0ad279d74c5e612078c3f29d114389dc.zip
Merge branch 'pull'
Diffstat (limited to 'mod/view.php')
-rw-r--r--mod/view.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/view.php b/mod/view.php
new file mode 100644
index 000000000..33aa23f44
--- /dev/null
+++ b/mod/view.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * load view/theme/$current_theme/style.php with friendica contex
+ */
+
+function view_init($a){
+ header("Content-Type: text/css");
+
+ if ($a->argc == 4){
+ $theme = $a->argv[2];
+ $THEMEPATH = "view/theme/$theme";
+ require_once("view/theme/$theme/style.php");
+ }
+
+ killme();
+}