Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.

This commit is contained in:
2023-01-10 19:26:14 +02:00
parent 008f36c094
commit b3810d2349
147 changed files with 267 additions and 1295 deletions
+3 -3
View File
@@ -37,7 +37,7 @@ if($u->info['admin']=0){
?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />
<meta http-equiv=Cache-Control Content=no-cache>
<meta http-equiv=PRAGMA content=NO-CACHE>
<meta http-equiv=Expires Content=0>
@@ -258,8 +258,8 @@ if($u->info['admin']=0){
<td valign="top" style="padding:10px;">
<?
if(isset($_GET['mod'])){
if(file_exists('../adminion/mod/'.htmlspecialchars($_GET['mod'],NULL,'cp1251').'.php')){
include('../adminion/mod/'.htmlspecialchars($_GET['mod'],NULL,'cp1251').'.php');
if(file_exists('../adminion/mod/'.htmlspecialchars($_GET['mod'],NULL).'.php')){
include('../adminion/mod/'.htmlspecialchars($_GET['mod'],NULL).'.php');
}else{
echo '<center>У вас нет доступа к данному разделу</center>';
}