Skip to content
Snippets Groups Projects
Commit f809ae7b authored by Anika Henke's avatar Anika Henke
Browse files

fixed lib/tpl/index.php to reflect recent changes

parent 0ac69508
No related branches found
No related tags found
No related merge requests found
......@@ -43,12 +43,10 @@ require_once(DOKU_INC.'inc/init.php');
</head>
<body>
<?php
$styleini = '';
if(@file_exists($conf['template'].'/style.local.ini'))
$styleini = $conf['template'].'/style.local.ini';
else if(@file_exists($conf['template'].'/style.ini'))
$styleini = $conf['template'].'/style.ini';
$ini = @parse_ini_file($styleini, true);
// 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(tpl_incdir());
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