diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2002-08-22 12:21:25 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2002-08-22 12:21:25 +0000 |
| commit | 848bcf75271d0640a5b604d039c1d2cbbcbad47f (patch) | |
| tree | 403a4efe81279442dd59ef2d08deaff753bb04a7 /ext/mime_magic/mime_magic.c | |
| parent | 484d7793e0b26907193d4742190740859fe244dc (diff) | |
| download | php-git-848bcf75271d0640a5b604d039c1d2cbbcbad47f.tar.gz | |
Instead of hardcoding the path of magic.mime file, try to find the file
inside common paths for the file.
Diffstat (limited to 'ext/mime_magic/mime_magic.c')
| -rw-r--r-- | ext/mime_magic/mime_magic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c index 54a8220205..770ef2f358 100644 --- a/ext/mime_magic/mime_magic.c +++ b/ext/mime_magic/mime_magic.c @@ -235,7 +235,7 @@ ZEND_GET_MODULE(mime_magic) /* {{{ PHP_INI */ PHP_INI_BEGIN() -STD_PHP_INI_ENTRY("mime_magic.magicfile", "/usr/share/misc/magic.mime", PHP_INI_SYSTEM, OnUpdateString, magicfile, zend_mime_magic_globals, mime_magic_globals) +STD_PHP_INI_ENTRY("mime_magic.magicfile", PHP_MIME_MAGIC_FILE_PATH, PHP_INI_SYSTEM, OnUpdateString, magicfile, zend_mime_magic_globals, mime_magic_globals) PHP_INI_END() /* }}} */ |
