mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +00:00
add request uri to start line of sql log
This commit is contained in:
parent
fce2ba2bd7
commit
dc4c26916b
|
@ -217,7 +217,7 @@ class SeedDMS_Core_DatabaseAccess {
|
||||||
if($this->_logfile) {
|
if($this->_logfile) {
|
||||||
$this->_logfp = fopen($this->_logfile, 'a+');
|
$this->_logfp = fopen($this->_logfile, 'a+');
|
||||||
if($this->_logfp)
|
if($this->_logfp)
|
||||||
fwrite($this->_logfp, microtime()." BEGIN ------------------------------------------\n");
|
fwrite($this->_logfp, microtime()." BEGIN ".$_SERVER['REQUEST_URI']." ------------------------------------------\n");
|
||||||
} else
|
} else
|
||||||
$this->_logfp = null;
|
$this->_logfp = null;
|
||||||
// $tt*****id is a hack to ensure that we do not try to create the
|
// $tt*****id is a hack to ensure that we do not try to create the
|
||||||
|
|
Loading…
Reference in New Issue
Block a user