commit | 07e50b9b235f3c53bce580d8cc9a59e4e14df274 | [log] [tgz] |
---|---|---|
author | Phil Sturgeon <email@philsturgeon.co.uk> | Tue Mar 15 14:03:53 2011 +0000 |
committer | Phil Sturgeon <email@philsturgeon.co.uk> | Tue Mar 15 14:03:53 2011 +0000 |
tree | 64e242994e9b0624ec7efa9f6c3b4dbd854a6bf3 | |
parent | 2d927761f13489187db6ae34a7c0a52367779de4 [diff] |
Fixed upload issue reported by Valhallen and fixed by bubbafoley.
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php index e15ea1b..2012fb3 100644 --- a/system/libraries/Upload.php +++ b/system/libraries/Upload.php
@@ -951,7 +951,7 @@ if (count($this->mimes) == 0) { - if (@require_once(APPPATH.'config/mimes'.EXT)) + if (@require(APPPATH.'config/mimes'.EXT)) { $this->mimes = $mimes; unset($mimes);