Skip to content
This repository
tree: d25a9df996
Fetching contributors…

Cannot retrieve contributors at this time

file 17 lines (14 sloc) 0.34 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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();
}
Something went wrong with that request. Please try again.