From: Ilia Alshanetsky Date: Tue, 5 Apr 2005 15:12:52 +0000 (+0000) Subject: Added another search patch for magic file (fixes bug #3232). X-Git-Tag: php-5.0.1b1~604 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f13b138a74273bc7ff32e4896d2b78e74e24837;p=php Added another search patch for magic file (fixes bug #3232). --- diff --git a/ext/fileinfo/config.m4 b/ext/fileinfo/config.m4 index c9ad617163..72cc3aabbf 100644 --- a/ext/fileinfo/config.m4 +++ b/ext/fileinfo/config.m4 @@ -39,7 +39,7 @@ if test "$PHP_FILEINFO" != "no"; then -L$FILEINFO_DIR/lib -lm -lz -ldl ]) - MAGIC_MIME_LOCATIONS="/usr/local/share/file/magic /usr/share/file/magic /usr/share/misc/file/magic /etc/magic" + MAGIC_MIME_LOCATIONS="/usr/local/share/file/magic /usr/share/file/magic /usr/share/misc/file/magic /etc/magic /usr/share/misc" for i in $MAGIC_MIME_LOCATIONS; do if test -f $i; then PHP_DEFAULT_MAGIC_FILE=$i