@@ -581,7 +581,10 @@ class FilesManager
|
|||||||
try {
|
try {
|
||||||
$oProcessFiles = \ProcessFilesPeer::retrieveByPK($prfUid);
|
$oProcessFiles = \ProcessFilesPeer::retrieveByPK($prfUid);
|
||||||
$fcontent = file_get_contents($oProcessFiles->getPrfPath());
|
$fcontent = file_get_contents($oProcessFiles->getPrfPath());
|
||||||
$sFile = end(explode("/",$oProcessFiles->getPrfPath()));
|
$pth = $oProcessFiles->getPrfPath();
|
||||||
|
$pth = str_replace("\\","/",$pth);
|
||||||
|
$prfPath = explode("/",$pth);
|
||||||
|
$sFile = end($prfPath);
|
||||||
$path = $oProcessFiles->getPrfPath();
|
$path = $oProcessFiles->getPrfPath();
|
||||||
$sPath = str_replace($sFile,'',$path);
|
$sPath = str_replace($sFile,'',$path);
|
||||||
$sSubDirectory = substr(str_replace($sProcessUID,'',substr($sPath,(strpos($sPath, $sProcessUID)))),0,-1);
|
$sSubDirectory = substr(str_replace($sProcessUID,'',substr($sPath,(strpos($sPath, $sProcessUID)))),0,-1);
|
||||||
|
|||||||
Reference in New Issue
Block a user