Permalink
Browse files

avoid warning msg

  • Loading branch information...
1 parent 45418da commit 6204ecefd79afdbdc671a0bb667d482b75ce6832 james committed Sep 13, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 flexiphp/base/Flexi/objectclass/FlexiFileUtil.php
@@ -137,7 +137,7 @@ public static function _doUploadFile($sFormName, $asMovePath="") {
if (!empty($sMovePath) && $sTempFile != $sMovePath) {
$aReturn["path"] = $sMovePath;
if (is_file($sMovePath)) { unlink($sMovePath); }
- if(move_uploaded_file($sTempFile, $sMovePath)) {
+ if(@move_uploaded_file($sTempFile, $sMovePath)) {
FlexiLogger::info(__METHOD__, "Moved file from: " . $sTempFile . " to " . $sMovePath);
$aReturn["status"] = true;
} else {

0 comments on commit 6204ece

Please sign in to comment.