From 3a56e70e888ce9420c72add656726dc623a45894 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 29 Jan 2012 13:28:28 +0100 Subject: You can now use %root% in CSS styles too. --- css.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'css.php') diff --git a/css.php b/css.php index bbc4bef..2187eb3 100644 --- a/css.php +++ b/css.php @@ -17,7 +17,7 @@ try { $style = Style::by_name($_GET["name"]); header("Content-Type: text/css; charset=UTF-8"); - echo $style->code; + echo str_replace("%root%", ".", $style->code); } catch(DoesNotExistError $e) { -- cgit v1.2.3-70-g09d2