Skip to content

Commit

Permalink
fix: replace old call to css_styleini
Browse files Browse the repository at this point in the history
fixes #2330
  • Loading branch information
micgro42 committed Apr 23, 2018
1 parent 5d59b41 commit 6503073
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tpl/index.php
Expand Up @@ -46,7 +46,8 @@
// get merged style.ini
define('SIMPLE_TEST', true); // hack to prevent css output and headers
require_once(DOKU_INC.'lib/exe/css.php');
$ini = css_styleini($conf['template']);
$styleUtils = new \dokuwiki\StyleUtils();
$ini = $styleUtils->cssStyleini($conf['template']);

if ($ini) {
echo '<table>';
Expand Down

0 comments on commit 6503073

Please sign in to comment.