]> granicus.if.org Git - php/commitdiff
MFH(r-1.10): rearranged search order for the magic file to avoid further
authorMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 31 Mar 2003 19:49:37 +0000 (19:49 +0000)
committerMoriyoshi Koizumi <moriyoshi@php.net>
Mon, 31 Mar 2003 19:49:37 +0000 (19:49 +0000)
confusions

ext/mime_magic/config.m4

index e65565724de98c83e29af0217f7630f6324a13f8..b47b1ba97b965962ac8378e60f8c0aa702f038ae 100644 (file)
@@ -22,7 +22,7 @@ if test "$PHP_MIME_MAGIC" != "no"; then
       AC_MSG_ERROR([File '$PHP_MIME_MAGIC' not found!])
     fi
   else
-    MAGIC_MIME_LOCATIONS="/usr/share/magic.mime /usr/share/misc/magic.mime /etc/magic.mime"
+    MAGIC_MIME_LOCATIONS="/usr/local/apache/conf/magic /usr/local/etc/apache/conf/magic /etc/apache/magic /etc/httpd/conf/magic /usr/share/magic.mime /usr/share/misc/magic.mime /etc/magic.mime"
 
     for i in $MAGIC_MIME_LOCATIONS; do
       if test -f $i; then