05/12/2012, 12:26:10
Hi,
Here is my quick and dirty fix for the imagemanager in the deletion problem (the 1.11.3 did not fix my problem).
The fix
in lib/FileManager/imagemanager/Classes/ImageManager.php
Line 373
Replace
with
The problem seems to be in the verification of relative path in line if( !$this->validRelativePath($r2) ) return false;
The getDirskeys have "/" at the end but the $r2 not and the compare return false...
Here is my quick and dirty fix for the imagemanager in the deletion problem (the 1.11.3 did not fix my problem).
The fix
in lib/FileManager/imagemanager/Classes/ImageManager.php
Line 373
Replace
Code :
if($key == $path)
with
Code :
if($key == $path || $key == $path."/")
The problem seems to be in the verification of relative path in line if( !$this->validRelativePath($r2) ) return false;
The getDirskeys have "/" at the end but the $r2 not and the compare return false...