mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Чистка от неиспользуемого
Удаление логирования сессий в текстовые файлы; откат исправлени отправки email, все было корректно.
This commit is contained in:
parent
7d2dc28fbe
commit
075b185eaf
4 changed files with 8 additions and 53 deletions
|
@ -78,17 +78,6 @@ if (DBG_USER && SQL_DEBUG && !(isset($_GET['pane']) && $_GET['pane'] == 'left'))
|
|||
require(INC_DIR . 'page_footer_dev.php');
|
||||
}
|
||||
|
||||
##### LOG #####
|
||||
global $log_ip_resp;
|
||||
|
||||
if (isset($log_ip_resp[USER_IP]) || isset($log_ip_resp[CLIENT_IP]))
|
||||
{
|
||||
$str = date('H:i:s') . LOG_SEPR . preg_replace("#\s+#", ' ', $contents) . LOG_LF;
|
||||
$file = 'sessions/'. date('m-d') .'_{'. USER_IP .'}_'. CLIENT_IP .'_resp';
|
||||
bb_log($str, $file);
|
||||
}
|
||||
### LOG END ###
|
||||
|
||||
echo '
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue