Skip to content
Snippets Groups Projects
Commit 568ffd7e authored by Andreas Gohr's avatar Andreas Gohr
Browse files

Readded style.local.ini and deprecated it

parent afb2c082
No related branches found
No related tags found
No related merge requests found
......@@ -279,6 +279,23 @@ function css_styleini($tpl) {
}
}
// load template's style.local.ini
// @deprecated 2013-08-03
$ini = $incbase.'style.local.ini';
if(file_exists($ini)){
$data = parse_ini_file($ini, true);
// stylesheets
if(is_array($data['stylesheets'])) foreach($data['stylesheets'] as $file => $mode){
$stylesheets[$mode][$incbase.$file] = $webbase;
}
// replacements
if(is_array($data['replacements'])){
$replacements = array_merge($replacements, $data['replacements']);
}
}
// load configs's style.ini
$incbase = dirname($ini).'/';
$webbase = DOKU_BASE;
......
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