In includes/functions.php file,
Hinzufügen:
function get_basename($path) {
$path = str_replace("\\", "/", $path);
$name = substr(strrchr($path, "/"), 1);
return $name ? $name : $path;
}
function get_basefile($path) {
$basename = get_basename($path);
preg_match("/(.+)\?(.+)/", $basename, $regs);
return isset($regs[1]) ? $regs[1] : $basename;
}