use core tpl_includeFile() if it exists

This commit is contained in:
Anika Henke 2012-08-26 18:06:52 +01:00
parent 0009a803ac
commit d386b375f2
4 changed files with 14 additions and 7 deletions

View file

@ -187,3 +187,10 @@ function _tpl_include($fn) {
else if (file_exists($tplFile))
include($tplFile);
}
/* use core function if available, otherwise the custom one */
if (!function_exists('tpl_includeFile')) {
function tpl_includeFile($fn){
_tpl_include($fn);
}
}