Skip to content

Commit

Permalink
properly initialize LESS importDir. fixes #1777
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Dec 12, 2016
1 parent aaf4f55 commit 343a31d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/exe/css.php
Expand Up @@ -166,7 +166,7 @@ function css_parseless($css) {
global $conf;

$less = new lessc();
$less->importDir[] = DOKU_INC;
$less->importDir = array(DOKU_INC);
$less->setPreserveComments(!$conf['compress']);

if (defined('DOKU_UNITTEST')){
Expand Down

0 comments on commit 343a31d

Please sign in to comment.