aboutsummaryrefslogtreecommitdiff
path: root/css.php
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2012-01-29 13:28:28 +0100
committerKevin Chabowski <kevin@kch42.de>2012-01-29 13:28:28 +0100
commit3a56e70e888ce9420c72add656726dc623a45894 (patch)
treeba1cd2108d58f0e7196917227f3e914ae0ae1df7 /css.php
parentc91f5d5d77b55b1579b6020ad2dea3a8801eb106 (diff)
downloadratatoeskr-cms-3a56e70e888ce9420c72add656726dc623a45894.tar.gz
ratatoeskr-cms-3a56e70e888ce9420c72add656726dc623a45894.tar.bz2
ratatoeskr-cms-3a56e70e888ce9420c72add656726dc623a45894.zip
You can now use %root% in CSS styles too.
Diffstat (limited to 'css.php')
-rw-r--r--css.php2
1 files changed, 1 insertions, 1 deletions
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)
{