this should fix pcss

This commit is contained in:
friendica 2013-01-08 14:24:32 -08:00
parent 948644bd46
commit 18d5131fc1

View File

@ -4,14 +4,12 @@
*/
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");
}
$theme = argv(2);
$THEMEPATH = "view/theme/$theme";
if(file_exists("view/theme/$theme/php/style.php"))
require_once("view/theme/$theme/php/style.php");
killme();
}