Changeset 1749 in subversion
- Timestamp:
- Sep 6, 2008 11:51:22 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/roundcubemail/program/include/bugs.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/bugs.inc
r1683 r1749 68 68 { 69 69 global $CONFIG; 70 $program = $arg_arr['type']=='xpath' ? 'XPath' :strtoupper($arg_arr['type']);70 $program = strtoupper($arg_arr['type']); 71 71 72 72 // write error to local log file 73 73 if ($CONFIG['debug_level'] & 1) 74 74 { 75 $log_entry = sprintf( 76 "[%s] %s Error: %s in %s on line %d\n", 75 $log_entry = sprintf("[%s] %s Error: %s in %s on line %d (%s %s)\n", 77 76 date("d-M-Y H:i:s O", mktime()), 78 77 $program, 79 78 $arg_arr['message'], 80 79 $arg_arr['file'], 81 $arg_arr['line']); 82 80 $arg_arr['line'], 81 $_SERVER['REQUEST_METHOD'], 82 $_SERVER['REQUEST_URI']); 83 83 84 if (empty($CONFIG['log_dir'])) 84 85 $CONFIG['log_dir'] = INSTALL_PATH.'logs';
Note: See TracChangeset
for help on using the changeset viewer.
