From d19606b96ba0f5ed56e9e736b8fe88210528577c Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Sat, 11 Jul 2009 00:58:19 +0000 Subject: I will probably regret this - opening up imagemagick command line to all --- lib/resize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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; } -- cgit v1.2.3