Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Michael Vogel 2013-10-25 23:35:03 +02:00
commit 711972a166
16 changed files with 188 additions and 13 deletions

View file

@ -2156,6 +2156,7 @@ function clear_cache($basepath = "", $path = "") {
if ($cachetime == 0)
$cachetime = 86400;
if (is_writable($path)){
if ($dh = opendir($path)) {
while (($file = readdir($dh)) !== false) {
$fullpath = $path."/".$file;
@ -2166,6 +2167,7 @@ function clear_cache($basepath = "", $path = "") {
}
closedir($dh);
}
}
}
function set_template_engine(&$a, $engine = 'internal') {