mirror of
https://github.com/friendica/friendica
synced 2024-11-14 08:22:53 +00:00
b202e02fbf
This reverts commit db949bb802
.
17 lines
340 B
PHP
17 lines
340 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/style.php"))
|
|
require_once("view/theme/$theme/style.php");
|
|
}
|
|
|
|
killme();
|
|
}
|