added tpl_basedir() function for backwards compatibility
This commit is contained in:
parent
e607863509
commit
554591bef7
1 changed files with 10 additions and 0 deletions
|
|
@ -244,6 +244,16 @@ if (!function_exists('tpl_incdir')) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* copied from core (available since Adora Belle)
|
||||||
|
*/
|
||||||
|
if (!function_exists('tpl_basedir')) {
|
||||||
|
function tpl_basedir() {
|
||||||
|
global $conf;
|
||||||
|
return DOKU_BASE.'lib/tpl/'.$conf['template'].'/';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* does *not* emulate the core function, but returns only
|
* does *not* emulate the core function, but returns only
|
||||||
* if sidebar is set to make it roughly backwards compatible
|
* if sidebar is set to make it roughly backwards compatible
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue