aboutsummaryrefslogtreecommitdiff
path: root/lib/resize.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/resize.php')
-rw-r--r--lib/resize.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/resize.php b/lib/resize.php
index 8561e1f4a..a2c522eb8 100644
--- a/lib/resize.php
+++ b/lib/resize.php
@@ -527,7 +527,7 @@
}
if(substr($im_path, strlen($im_path)-1, 1) != "/") $im_path .= "/";
$command = $im_path . "convert \"$input_name\" -resize ".$newwidth."x".$newheight."^ -gravity center -extent ".$newwidth."x".$newheight." \"$output_name\"";
- system($command);
+ exec($command);
return $output_name;
}