moriyoshi               Mon Mar 31 14:48:53 2003 EDT

  Modified files:              
    /php4/ext/mime_magic        config.m4 
  Log:
  Rearranged search order for the magic file to avoid further confusions
  
  
Index: php4/ext/mime_magic/config.m4
diff -u php4/ext/mime_magic/config.m4:1.9 php4/ext/mime_magic/config.m4:1.10
--- php4/ext/mime_magic/config.m4:1.9   Tue Jan 28 01:52:09 2003
+++ php4/ext/mime_magic/config.m4       Mon Mar 31 14:48:53 2003
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.9 2003/01/28 06:52:09 sniper Exp $
+dnl $Id: config.m4,v 1.10 2003/03/31 19:48:53 moriyoshi Exp $
 dnl
 
 PHP_ARG_WITH(mime-magic, whether to include mime_magic support,
@@ -22,7 +22,7 @@
       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



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to