mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
01af7d355a
Load style.php trhu mod/view.php to pass it friendica framework.
16 lines
290 B
PHP
16 lines
290 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";
|
|
require_once("view/theme/$theme/style.php");
|
|
}
|
|
|
|
killme();
|
|
}
|