18 if (count($te) > 1)
$ext = $te[count($te) - 1];
24 return str_replace(
'//',
'/', $fspath .
"/" . $id .
"." .
fileextension($name));
30 $r = strrpos($p,
"/");
31 return (
$r !==
false) ? substr($p,
$r + 1) : $p;
vaultfilename($fspath, $name, $id)
fileextension($filename, $ext="nop")