aboutsummaryrefslogblamecommitdiffstats
path: root/mod/view.php
blob: 965e1806786b05e041a46ab365bb7c6ca9c7bf82 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                 

                                                                        



                 
<?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/php/style.php"))
			require_once("view/theme/$theme/php/style.php");
	}
	
	killme();
}