mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
do not strip .php from uri in add_log_line()
This commit is contained in:
parent
2ce03dcb2a
commit
cb383eb70b
|
@ -426,7 +426,7 @@ function _add_log_line($msg="") { /* {{{ */
|
|||
else $logname=date("Ym", time());
|
||||
|
||||
if($h = fopen($settings->_contentDir.$logname.".log", "a")) {
|
||||
fwrite($h,date("Y/m/d H:i", time())." ".$user->getLogin()." (".$_SERVER['REMOTE_ADDR'].") ".basename($_SERVER["REQUEST_URI"], ".php").$msg."\n");
|
||||
fwrite($h,date("Y/m/d H:i", time())." ".$user->getLogin()." (".$_SERVER['REMOTE_ADDR'].") ".basename($_SERVER["REQUEST_URI"]).$msg."\n");
|
||||
fclose($h);
|
||||
}
|
||||
} /* }}} */
|
||||
|
|
Loading…
Reference in New Issue
Block a user