diff --git a/lib/tpl/index.php b/lib/tpl/index.php index fb368840e6ceee26e5b7499954301b108138f16c..d6f00343b49c18f01e20a5ed2340507286fc2f8a 100644 --- a/lib/tpl/index.php +++ b/lib/tpl/index.php @@ -46,7 +46,8 @@ require_once(DOKU_INC.'inc/init.php'); // 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>';