Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/*=Reset default browser CSS. Based on work by Eric Meyer: https://meyerweb.com/eric/tools/css/reset/index.html=*/
|
||||
@charset "windows-1251";
|
||||
body, html {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ if ($u['admin'] > 0 || in_array($u['align'], $pal_al) || in_array($u['align'], $
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru-RU">
|
||||
<head>
|
||||
<meta charset="windows-1251"/>
|
||||
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<title>Новости браузерной онлайн игры Новый «Бойцовский клуб»</title>
|
||||
<meta name="keywords"
|
||||
@@ -319,7 +319,7 @@ if ($u['admin'] > 0) {
|
||||
if (isset($u['id']) && $add[0] == 1 && isset($_POST['text_com']) && str_replace(
|
||||
' ', '', str_replace(' ', '', $_POST['text_com'])
|
||||
) != '') {
|
||||
$_POST['text_com'] = htmlspecialchars($_POST['text_com'], null, 'cp1251');
|
||||
$_POST['text_com'] = htmlspecialchars($_POST['text_com'], null);
|
||||
if ($u['admin'] == 0) {
|
||||
$_POST['text_com'] = substr($_POST['text_com'], 0, 2048);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
/*=Reset default browser CSS. Based on work by Eric Meyer: https://meyerweb.com/eric/tools/css/reset/index.html=*/
|
||||
@charset "windows-1251";
|
||||
body, html {
|
||||
height: 99%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user