Sujet fermé
Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5

Dirty fix for ImageManager
#1

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

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...
Sujet fermé


Messages dans ce sujet

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)