fixed missing tpl_incdir() leading to error in older DW versions

This commit is contained in:
Anika Henke 2012-12-31 15:14:55 +00:00
parent b393357c61
commit d67c273583

View file

@ -233,3 +233,13 @@ if (!function_exists('tpl_includeFile')) {
}
}
}
/**
* copied from core (available since Adora Belle)
*/
if (!function_exists('tpl_incdir')) {
function tpl_incdir() {
global $conf;
return DOKU_INC.'lib/tpl/'.$conf['template'].'/';
}
}