Changeset 397 for branches/1.1dev
- Timestamp:
- Feb 11, 2012 4:51:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/lib/ImageThumb.inc.php
r379 r397 209 209 if (!file_exists($this->source_dir . '/' . $file_name)) { 210 210 // raiseMsg(sprintf(_("Image resizing failed: source image not found: <strong>%s</strong>"), $file_name), MSG_ERR, __FILE__, __LINE__); 211 logMsg(sprintf('Source image not found: %s', $file_name), LOG_ ALERT, __FILE__, __LINE__);211 logMsg(sprintf('Source image not found: %s', $file_name), LOG_WARNING, __FILE__, __LINE__); 212 212 return false; 213 213 } … … 216 216 if (!is_readable($this->source_dir . '/' . $file_name)) { 217 217 // raiseMsg(sprintf(_("Image resizing failed: source image not readable: <strong>%s</strong>"), $file_name), MSG_ERR, __FILE__, __LINE__); 218 logMsg(sprintf('Source image not readable: %s', $file_name), LOG_ ALERT, __FILE__, __LINE__);218 logMsg(sprintf('Source image not readable: %s', $file_name), LOG_WARNING, __FILE__, __LINE__); 219 219 return false; 220 220 } … … 223 223 if (filesize($this->source_dir . '/' . $file_name) < 1) { 224 224 // raiseMsg(sprintf(_("Image resizing failed: source image corrupt: <strong>%s</strong>"), $file_name), MSG_ERR, __FILE__, __LINE__); 225 logMsg(sprintf('Source image is zero bytes: %s', $file_name), LOG_ ALERT, __FILE__, __LINE__);225 logMsg(sprintf('Source image is zero bytes: %s', $file_name), LOG_WARNING, __FILE__, __LINE__); 226 226 return false; 227 227 }
Note: See TracChangeset
for help on using the changeset viewer.