mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
do not strip .php from uri in add_log_line()
This commit is contained in:
parent
cb383eb70b
commit
47aebfdb14
|
@ -413,7 +413,7 @@ function add_log_line($msg="", $priority=null) { /* {{{ */
|
|||
if($user)
|
||||
$logger->log($user->getLogin()." (".$ip.") ".basename($_SERVER["REQUEST_URI"], ".php").($msg ? $msg : ''), $priority);
|
||||
else
|
||||
$logger->log("-- (".$ip.") ".basename($_SERVER["REQUEST_URI"], ".php").($msg ? $msg : ''), $priority);
|
||||
$logger->log("-- (".$ip.") ".basename($_SERVER["REQUEST_URI"]).($msg ? $msg : ''), $priority);
|
||||
} /* }}} */
|
||||
|
||||
function _add_log_line($msg="") { /* {{{ */
|
||||
|
|
Loading…
Reference in New Issue
Block a user