Skip to content
Snippets Groups Projects
Unverified Commit db5f32b0 authored by Andreas Gohr's avatar Andreas Gohr Committed by GitHub
Browse files

Merge pull request #2332 from splitbrain/removeStyleIniCall

Replace old call to css_styleini
parents 5d59b410 65030737
No related merge requests found
......@@ -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>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment