this should fix pcss
This commit is contained in:
parent
948644bd46
commit
18d5131fc1
12
mod/view.php
12
mod/view.php
@ -4,14 +4,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
function view_init($a){
|
function view_init($a){
|
||||||
|
|
||||||
header("Content-Type: text/css");
|
header("Content-Type: text/css");
|
||||||
|
|
||||||
if ($a->argc == 4){
|
$theme = argv(2);
|
||||||
$theme = $a->argv[2];
|
$THEMEPATH = "view/theme/$theme";
|
||||||
$THEMEPATH = "view/theme/$theme";
|
if(file_exists("view/theme/$theme/php/style.php"))
|
||||||
if(file_exists("view/theme/$theme/php/style.php"))
|
require_once("view/theme/$theme/php/style.php");
|
||||||
require_once("view/theme/$theme/php/style.php");
|
|
||||||
}
|
|
||||||
|
|
||||||
killme();
|
killme();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user