* fix bugs.

This commit is contained in:
wangyidong
2017-07-17 16:49:59 +08:00
parent 152daa4c39
commit 9b863fe982
8 changed files with 22 additions and 16 deletions
+1 -1
View File
@@ -2236,7 +2236,7 @@ class baseRouter
* Set the error info.
**/
$errorLog = "\n" . date('H:i:s') . " $message in <strong>$file</strong> on line <strong>$line</strong> ";
$errorLog .= "when visiting <strong>" . $this->getURI() . "</strong>\n";
$errorLog .= "when visiting <strong>" . htmlspecialchars($this->getURI()) . "</strong>\n";
/*
* 为了安全起见,对公网环境隐藏脚本路径。