修正在PHP 7.x.x下,由于 return mysql_escape_string(); 语句问题产生的 PHP Deprecated提示。

This commit is contained in:
何生TT 2017-03-30 16:31:46 +08:00
parent aa8be7ad15
commit 5e00a7a062
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ class db_driver_mysql
}
function escape_string($str) {
return mysql_escape_string($str);
return mysql_real_escape_string($str);
}
function close() {