
 synthetron - 2014-05-19 07:24:54 - 
In reply to message 18 from synthetron 
u forgot the second split
// get directory path of rel file
    $relFileDirectory = preg_replace("/(_rels)$/", "", dirname($relFilePath));
    $arrPath = explode("/", rtrim($relFileDirectory, "/"));
    
    // calculate path to target file
    $arrTargetPath = split("/", ltrim($targetPath, "/"));