diff options
author | Michael <icarus@dabo.de> | 2012-04-11 18:47:21 +0200 |
---|---|---|
committer | Michael <icarus@dabo.de> | 2012-04-11 18:47:21 +0200 |
commit | c3139fa0fd49b0b4de4568d46a6946c75ccb2a62 (patch) | |
tree | a46d809d2e11fefba938717d38b1371572e4d815 /mod/view.php | |
parent | 81a8d4f9dbd32de133e647c87a5394dd52f009fe (diff) | |
parent | fe257a20324fe68838e5829e19d18777045a41b4 (diff) | |
download | volse-hubzilla-c3139fa0fd49b0b4de4568d46a6946c75ccb2a62.tar.gz volse-hubzilla-c3139fa0fd49b0b4de4568d46a6946c75ccb2a62.tar.bz2 volse-hubzilla-c3139fa0fd49b0b4de4568d46a6946c75ccb2a62.zip |
Merge branch 'master' of github.com:annando/friendica
Diffstat (limited to 'mod/view.php')
-rw-r--r-- | mod/view.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mod/view.php b/mod/view.php new file mode 100644 index 000000000..15b3733b3 --- /dev/null +++ b/mod/view.php @@ -0,0 +1,17 @@ +<?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"; + if(file_exists("view/theme/$theme/style.php")) + require_once("view/theme/$theme/style.php"); + } + + killme(); +} |