Changeset 7803 for trunk/src/inc/LogHandler.class.php
- Timestamp:
- Apr 17, 2010, 2:29:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/inc/LogHandler.class.php
r7773 r7803 95 95 96 96 //Check if the file can be opened 97 if (!$handle = fopen($filename, ' w')) {97 if (!$handle = fopen($filename, 'a')) { 98 98 define('IGNORE_LOG_LEVEL_WRITE', true); 99 99 trigger_log(SYSLOG_EMERG, 'Cannot open file "' . $filename . '"', __FILE__, __LINE__); … … 117 117 118 118 if ($logno <= LOG_LEVEL_MAIL) { 119 mail('test@test.com', 'Nodemap error', $errorString); 119 global $config; 120 mail($config['mail'], 'Nodemap error', $errorString); 120 121 } 121 122 }
Note:
See TracChangeset
for help on using the changeset viewer.