mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Фиксы ссылок на форум, дампа Ocelot
Небольшие работы со стилистикой и исправления некоторых ссылок.
This commit is contained in:
parent
036bbae358
commit
41b0894d3d
9 changed files with 39 additions and 40 deletions
18
common.php
18
common.php
|
@ -2087,15 +2087,15 @@ function log_request ($file = '', $prepend_str = false, $add_post = true)
|
|||
if (!empty($user->data)) $str[] = $user->id ."\t". html_entity_decode($user->name);
|
||||
$str[] = sprintf('%-15s', $_SERVER['REMOTE_ADDR']);
|
||||
|
||||
if (isset($_SERVER['REQUEST_URI'])) {
|
||||
$str[] = $_SERVER['REQUEST_URI'];
|
||||
}
|
||||
if (isset($_SERVER['HTTP_USER_AGENT'])) {
|
||||
$str[] = $_SERVER['HTTP_USER_AGENT'];
|
||||
}
|
||||
if (isset($_SERVER['HTTP_REFERER'])) {
|
||||
$str[] = $_SERVER['HTTP_REFERER'];
|
||||
}
|
||||
if (isset($_SERVER['REQUEST_URI'])) {
|
||||
$str[] = $_SERVER['REQUEST_URI'];
|
||||
}
|
||||
if (isset($_SERVER['HTTP_USER_AGENT'])) {
|
||||
$str[] = $_SERVER['HTTP_USER_AGENT'];
|
||||
}
|
||||
if (isset($_SERVER['HTTP_REFERER'])) {
|
||||
$str[] = $_SERVER['HTTP_REFERER'];
|
||||
}
|
||||
|
||||
if (!empty($_POST) && $add_post) $str[] = "post: ". str_compact(urldecode(http_build_query($_POST)));
|
||||
$str = join("\t", $str) . "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue