Ignore:
Timestamp:
Dec 17, 2005 7:43:47 AM (18 years ago)
Author:
scdev
Message:

${1}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Upload.inc.php

    r39 r40  
    443443            if (move_uploaded_file($files['tmp_name'][$i], $file_path_name)) {
    444444                chmod($file_path_name, $this->getParam('dest_file_perms'));
     445                App::logMsg(sprintf('File uploaded: %s', $file_path_name), LOG_INFO, __FILE__, __LINE__);
    445446                $this->raiseMsg(sprintf(_("The file <strong>%s</strong> uploaded successfully."), $file_name), MSG_SUCCESS, __FILE__, __LINE__);
    446447                if (!isset($custom_file_name) && $files['name'][$i] != $file_name) {
     
    487488            return false;
    488489        } 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__);
    490491        } else {
    491492            $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.