]> git.mxchange.org Git - friendica.git/blob - mod/view.php
Merge remote-tracking branch 'upstream/develop' into develop
[friendica.git] / mod / view.php
1 <?php
2 /**
3  * load view/theme/$current_theme/style.php with friendica contex
4  */
5  
6 function view_init($a){
7         header("Content-Type: text/css");
8                 
9         if ($a->argc == 4){
10                 $theme = $a->argv[2];
11                 $THEMEPATH = "view/theme/$theme";
12                 if(file_exists("view/theme/$theme/style.php"))
13                         require_once("view/theme/$theme/style.php");
14         }
15         
16         killme();
17 }