bugfix nginx config
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
function clean($str) {
|
||||
$search = array('&' , '"' , "'" , '<' , '>' );
|
||||
$replace = array('&', '"', ''', '<', '>' );
|
||||
$str = str_replace($search, $replace, $str);
|
||||
return $str;
|
||||
$str = str_replace($search, $replace, $str);
|
||||
$strf = htmlspecialchars($str, ENT_QUOTES, 'UTF-8');
|
||||
return $strf;
|
||||
}
|
||||
|
||||
if(isset($_REQUEST['logout'])){
|
||||
|
||||
Reference in New Issue
Block a user