Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2332 from splitbrain/removeStyleIniCall
Replace old call to css_styleini
  • Loading branch information
splitbrain committed Apr 23, 2018
2 parents 5d59b41 + 6503073 commit db5f32b
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 db5f32b

Please sign in to comment.