fixed missing tpl_incdir() leading to error in older DW versions
This commit is contained in:
parent
b393357c61
commit
d67c273583
1 changed files with 10 additions and 0 deletions
|
|
@ -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'].'/';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue