Merge branch 'master' of github.com:gnuboard/g5
This commit is contained in:
@ -1879,7 +1879,12 @@ function convert_charset($from_charset, $to_charset, $str)
|
||||
function escape_trim($field)
|
||||
{
|
||||
if ($field) {
|
||||
return mysql_real_escape_string(@trim($field));
|
||||
$str = mysql_real_escape_string(@trim($field));
|
||||
|
||||
if(PHP_VERSION < '5.3.0')
|
||||
$str = stripslashes($str);
|
||||
|
||||
return $str;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
1
plugin/okname/key/.htaccess
Normal file
1
plugin/okname/key/.htaccess
Normal file
@ -0,0 +1 @@
|
||||
# .htaccess
|
||||
Reference in New Issue
Block a user