streams/mod/view.php
Thomas Willingham 5b1a4100e0 More wrong links
2012-08-07 21:32:19 +01:00

17 lines
348 B
PHP

<?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();
}