use $root instead of $path
This commit is contained in:
parent
4bbbba1dc8
commit
06eca985ce
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue