use $root instead of $path
This commit is contained in:
parent
4bbbba1dc8
commit
06eca985ce
|
@ -690,7 +690,7 @@ class Preview {
|
|||
$root = 'files/' . $path;
|
||||
|
||||
try{
|
||||
$preview = new Preview($userid, $path);
|
||||
$preview = new Preview($userid, $root);
|
||||
$preview->setFile($file);
|
||||
$preview->setMaxX($maxX);
|
||||
$preview->setMaxY($maxY);
|
||||
|
|
Loading…
Reference in New Issue