use $root instead of $path

This commit is contained in:
Georg Ehrke 2013-07-11 11:57:19 +02:00
parent 4bbbba1dc8
commit 06eca985ce
1 changed files with 1 additions and 1 deletions

View File

@ -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);