From fef9854c59514a460f542105008a2ec8df3610f4 Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Mon, 1 Nov 2004 12:26:29 +0000 Subject: Fixed small problem with finding Imagemagick git-svn-id: file:///svn/phpbb/trunk@5017 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'phpBB') diff --git a/phpBB/install/install.php b/phpBB/install/install.php index 883e8133c5..997597a2cc 100644 --- a/phpBB/install/install.php +++ b/phpBB/install/install.php @@ -406,9 +406,8 @@ if ($stage == 0) foreach ($locations as $location) { - if (@file_exists($location . 'convert' . $exe) && @is_readable($location . 'convert' . $exe) && @filesize($location . 'convert' . $exe) > 10000) + if (@is_readable($location . 'mogrify' . $exe) && @filesize($location . 'mogrify' . $exe) > 3000) { - print $location; $img_imagick = str_replace('\\', '/', $location); continue; } @@ -1464,4 +1463,4 @@ function connect_check_db($error_connect, &$error, &$dbms, &$table_prefix, &$dbh // FUNCTIONS // --------- -?> \ No newline at end of file +?> -- cgit v1.2.1