diff options
author | friendica <info@friendica.com> | 2012-03-30 15:12:20 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-30 15:12:20 -0700 |
commit | aace55df0ad279d74c5e612078c3f29d114389dc (patch) | |
tree | ec1318b325ec3dc5ab2bc4ded5dae1c657b8fc7b /mod/view.php | |
parent | cfdfcb37cbed8354e9f6c025a6e9ccadafc2d625 (diff) | |
parent | 007d67a998eb8f26228ddd22bb0323d54af9af8c (diff) | |
download | volse-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.php | 16 |
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(); +} |