summaryrefslogtreecommitdiff
path: root/lib/exe/css.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/exe/css.php')
-rw-r--r--lib/exe/css.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/exe/css.php b/lib/exe/css.php
index 4a9c825c1..04516e8ba 100644
--- a/lib/exe/css.php
+++ b/lib/exe/css.php
@@ -191,11 +191,13 @@ function css_applystyle($css,$tplinc){
$css = strtr($css,$styleini['replacements']);
$less = '';
- foreach($styleini as $key => $value){
+ foreach($styleini['replacements'] as $key => $value){
$key = trim($key, '_');
$key = '@ini_'.$key;
- $less .= "$key: $value\n";
+ $less .= "$key: $value;\n";
}
+
+ $css = $less.$css;
}
return $css;
}