root/ip/tags/release_1_3_0_53/errors.php
| 111 | 163 | ||
|---|---|---|---|
96 | $server_url = create_server_url(); | 96 | $server_url = create_server_url(); |
97 | 97 | ||
98 | $notification_email = $board_config['board_email']; | 98 | $notification_email = $board_config['board_email']; |
99 | $sitename = $board_config['sitename']; | 99 | $sitename = ip_stripslashes($board_config['sitename']); |
100 | $datecode = date('Ymd'); | 100 | $datecode = gmdate('Ymd'); |
101 | $logs_path = !empty($board_config['logs_path']) ? $board_config['logs_path'] : 'logs'; | 101 | $logs_path = !empty($board_config['logs_path']) ? $board_config['logs_path'] : 'logs'; |
102 | $errors_log = $logs_path . '/errors_' . $datecode . '.txt'; | 102 | $errors_log = $logs_path . '/errors_' . $datecode . '.txt'; |
103 | //$errors_log = 'logs/errors.txt'; | 103 | //$errors_log = 'logs/errors.txt'; |
... | ... | ||
147 | $script_name = (!empty($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : getenv('REQUEST_URI'); | 147 | $script_name = (!empty($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : getenv('REQUEST_URI'); |
148 | $server_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'); | 148 | $server_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : getenv('SERVER_NAME'); |
149 | 149 | ||
150 | $date = date('Y/m/d - H:i:s'); | 150 | $date = gmdate('Y/m/d - H:i:s'); |
151 | 151 | ||
152 | if ( ($action == 'L') || ($action == 'LM') ) | 152 | if ( ($action == 'L') || ($action == 'LM') ) |
153 | { | 153 | { |
Download diff