aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_upload.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-09-12 15:32:11 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-09-12 15:32:11 +0000
commite503216834c466de1eb5746d1b2998a8db5de086 (patch)
tree316a5c451d9188a35a629b457adc697df568a93f /phpBB/includes/functions_upload.php
parent01b46eb4e0cc637c0b3440a49a58580133679bb0 (diff)
downloadforums-e503216834c466de1eb5746d1b2998a8db5de086.tar
forums-e503216834c466de1eb5746d1b2998a8db5de086.tar.gz
forums-e503216834c466de1eb5746d1b2998a8db5de086.tar.bz2
forums-e503216834c466de1eb5746d1b2998a8db5de086.tar.xz
forums-e503216834c466de1eb5746d1b2998a8db5de086.zip
some tiny fixes...
git-svn-id: file:///svn/phpbb/trunk@8087 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_upload.php')
-rw-r--r--phpBB/includes/functions_upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_upload.php b/phpBB/includes/functions_upload.php
index 68e06765a5..d3110869af 100644
--- a/phpBB/includes/functions_upload.php
+++ b/phpBB/includes/functions_upload.php
@@ -577,7 +577,7 @@ class fileupload
if (function_exists('mime_content_type'))
{
- $mimetype = mime_content_type($filename);
+ $mimetype = mime_content_type($source_file);
}
// Some browsers choke on a mimetype of application/octet-stream