diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-01-29 13:28:28 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-01-29 13:28:28 +0100 |
commit | 3a56e70e888ce9420c72add656726dc623a45894 (patch) | |
tree | ba1cd2108d58f0e7196917227f3e914ae0ae1df7 /ratatoeskr/frontend.php | |
parent | c91f5d5d77b55b1579b6020ad2dea3a8801eb106 (diff) | |
download | ratatoeskr-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 'ratatoeskr/frontend.php')
-rw-r--r-- | ratatoeskr/frontend.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ratatoeskr/frontend.php b/ratatoeskr/frontend.php index 4b01fa0..0425099 100644 --- a/ratatoeskr/frontend.php +++ b/ratatoeskr/frontend.php @@ -601,7 +601,7 @@ $ste->register_tag("styles_load", function($ste, $params, $sub) try { $style = Style::by_name($stylename); - $output .= "/* Style: $stylename */\n" . $style->code . "\n"; + $output .= "/* Style: $stylename */\n" . str_replace("%root%", $rel_path_to_root, $style->code) . "\n"; } catch(DoesNotExistError $e) { |