Changeset 40 for trunk/lib/Upload.inc.php
- Timestamp:
- Dec 17, 2005 7:43:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Upload.inc.php
r39 r40 443 443 if (move_uploaded_file($files['tmp_name'][$i], $file_path_name)) { 444 444 chmod($file_path_name, $this->getParam('dest_file_perms')); 445 App::logMsg(sprintf('File uploaded: %s', $file_path_name), LOG_INFO, __FILE__, __LINE__); 445 446 $this->raiseMsg(sprintf(_("The file <strong>%s</strong> uploaded successfully."), $file_name), MSG_SUCCESS, __FILE__, __LINE__); 446 447 if (!isset($custom_file_name) && $files['name'][$i] != $file_name) { … … 487 488 return false; 488 489 } else if (unlink($file_path_name)) { 489 App::logMsg(sprintf('Deleted file: %s', $file_path_name), LOG_ DEBUG, __FILE__, __LINE__);490 App::logMsg(sprintf('Deleted file: %s', $file_path_name), LOG_INFO, __FILE__, __LINE__); 490 491 } else { 491 492 $this->raiseMsg(sprintf(_("The file <strong>%s</strong> could not be deleted."), $file_name), MSG_ERR, __FILE__, __LINE__);
Note: See TracChangeset
for help on using the changeset viewer.