Commits

Phil Sturgeon committed 3f61660

Fixed upload issue reported by Valhallen and fixed by bubbafoley.

Comments (0)

Files changed (1)

system/libraries/Upload.php

 
 		if (count($this->mimes) == 0)
 		{
-			if (@require_once(APPPATH.'config/mimes'.EXT))
+			if (@require(APPPATH.'config/mimes'.EXT))
 			{
 				$this->mimes = $mimes;
 				unset($mimes);