]> git.mxchange.org Git - friendica.git/blob - mod/view.php
Update PHPDoc in include/
[friendica.git] / mod / view.php
1 <?php
2 /**
3  * load view/theme/$current_theme/style.php with friendica context
4  *
5  * @param App $a
6  */
7 function view_init($a){
8         header("Content-Type: text/css");
9                 
10         if ($a->argc == 4){
11                 $theme = $a->argv[2];
12                 $THEMEPATH = "view/theme/$theme";
13                 if(file_exists("view/theme/$theme/style.php"))
14                         require_once("view/theme/$theme/style.php");
15         }
16         
17         exit();
18 }