summaryrefslogtreecommitdiffstats
path: root/system/libraries/Upload.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-03-15 15:03:53 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-03-15 15:03:53 +0100
commit07e50b9b235f3c53bce580d8cc9a59e4e14df274 (patch)
tree64e242994e9b0624ec7efa9f6c3b4dbd854a6bf3 /system/libraries/Upload.php
parent2d927761f13489187db6ae34a7c0a52367779de4 (diff)
Fixed upload issue reported by Valhallen and fixed by bubbafoley.
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r--system/libraries/Upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index e15ea1b5d..2012fb302 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -951,7 +951,7 @@ class CI_Upload {
if (count($this->mimes) == 0)
{
- if (@require_once(APPPATH.'config/mimes'.EXT))
+ if (@require(APPPATH.'config/mimes'.EXT))
{
$this->mimes = $mimes;
unset($mimes);