diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-03-15 15:03:53 +0100 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-03-15 15:03:53 +0100 |
commit | 07e50b9b235f3c53bce580d8cc9a59e4e14df274 (patch) | |
tree | 64e242994e9b0624ec7efa9f6c3b4dbd854a6bf3 | |
parent | 2d927761f13489187db6ae34a7c0a52367779de4 (diff) |
Fixed upload issue reported by Valhallen and fixed by bubbafoley.
-rw-r--r-- | system/libraries/Upload.php | 2 |
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); |