Typo
This commit is contained in:
@@ -32,8 +32,8 @@ if (array_key_exists("id",$_GET)) {
|
||||
else {
|
||||
$img = GlobalVariables::get("dao")->getFirst("MediaModel",array("id"=>$_GET['id']));
|
||||
|
||||
$basepath = GlobalVariables::get("config")->paths->media;
|
||||
if (!is_null($img) && file_exists($basepath."/".$img->id.".".$img->extension)){
|
||||
$basepath = GlobalVariables::get("config")->paths->media;
|
||||
$toMime = $basepath."/".$img->id.".".$img->extension;
|
||||
$thumb = new Imagick($basepath."/".$img->id.".".$img->extension);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user