Browse Source

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

master
Anika Henke 11 years ago
parent
commit
d67c273583
  1. 10
      tpl_functions.php

10
tpl_functions.php

@ -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…
Cancel
Save