mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update init_tr.php
This commit is contained in:
parent
a6573b1aad
commit
3b71df0f64
@ -472,13 +472,14 @@ class sql_db
|
|||||||
$msg[] = '';
|
$msg[] = '';
|
||||||
$msg[] = str_compact($this->cur_query);
|
$msg[] = str_compact($this->cur_query);
|
||||||
$msg[] = '';
|
$msg[] = '';
|
||||||
$msg[] = 'Source : '. $this->debug_find_source();
|
$msg[] = 'Source : '. $this->debug_find_source() ." :: $this->db_server.$this->selected_db";
|
||||||
$msg[] = 'IP : '. @$_SERVER['REMOTE_ADDR'];
|
$msg[] = 'IP : '. @$_SERVER['REMOTE_ADDR'];
|
||||||
$msg[] = 'Date : '. date('Y-m-d H:i:s');
|
$msg[] = 'Date : '. date('Y-m-d H:i:s');
|
||||||
$msg[] = 'Agent : '. @$_SERVER['HTTP_USER_AGENT'];
|
$msg[] = 'Agent : '. @$_SERVER['HTTP_USER_AGENT'];
|
||||||
$msg[] = 'Req_URI : '. @$_SERVER['REQUEST_URI'];
|
$msg[] = 'Req_URI : '. @$_SERVER['REQUEST_URI'];
|
||||||
$msg[] = 'Referer : '. @$_SERVER['HTTP_REFERER'];
|
$msg[] = 'Referer : '. @$_SERVER['HTTP_REFERER'];
|
||||||
$msg[] = 'Method : '. @$_SERVER['REQUEST_METHOD'];
|
$msg[] = 'Method : '. @$_SERVER['REQUEST_METHOD'];
|
||||||
|
$msg[] = 'PID : '. sprintf('%05d', getmypid());
|
||||||
$msg[] = 'Request : '. trim(print_r($_REQUEST, true)) . str_repeat('_', 78) . LOG_LF;
|
$msg[] = 'Request : '. trim(print_r($_REQUEST, true)) . str_repeat('_', 78) . LOG_LF;
|
||||||
$msg[] = '';
|
$msg[] = '';
|
||||||
bb_log($msg, SQL_TR_LOG_NAME);
|
bb_log($msg, SQL_TR_LOG_NAME);
|
||||||
|
Loading…
Reference in New Issue
Block a user