Re: cvs: php4 /ext/mime_magic config.m4
| From: | (Marcus Börger) | Date: | Sat, 25 Jan 2003 13:48:08 +0000 |
| Subject: | Re: cvs: php4 /ext/mime_magic config.m4 | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-18162@lists.php.net to get a copy of this message | ||
At 11:51 25.01.2003, Hartmut Holzgraefe wrote:
Shouldn't you change the test above to elif test -f /etc/magic.mime ; then marcushholzgra Sat Jan 25 05:51:04 2003 EDTModified files:/php4/ext/mime_magic config.m4Log: suggesting a plain magic file insteat of a mime one is a bad idea Index: php4/ext/mime_magic/config.m4 diff -u php4/ext/mime_magic/config.m4:1.6 php4/ext/mime_magic/config.m4:1.7 --- php4/ext/mime_magic/config.m4:1.6 Tue Sep 24 02:37:17 2002+++ php4/ext/mime_magic/config.m4 Sat Jan 25 05:51:04 2003@@ -1,4 +1,4 @@ -dnl $Id: config.m4,v 1.6 2002/09/24 06:37:17 sas Exp $ +dnl $Id: config.m4,v 1.7 2003/01/25 10:51:04 hholzgra Exp $ dnl config.m4 for extension mime_magic PHP_ARG_ENABLE(mime-magic, whether to enable mime_magic support, @@ -18,7 +18,7 @@ elif test -f /usr/share/misc/magic.mime ; thenPHP_MIME_MAGIC_FILE_PATH=/usr/share/misc/magic.mimeelif test -f /etc/magic ; then- PHP_MIME_MAGIC_FILE_PATH=/etc/magic + PHP_MIME_MAGIC_FILE_PATH=/etc/magic.mimeelsePHP_MIME_MAGIC_FILE_PATH=""fi