aboutsummaryrefslogtreecommitdiff
path: root/ratatoeskr/frontend.php
diff options
context:
space:
mode:
Diffstat (limited to 'ratatoeskr/frontend.php')
-rw-r--r--ratatoeskr/frontend.php2
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)
{