Remove cp1251. Я сильно недооценивал трудолюбие неизвестного кодера.
This commit is contained in:
+3
-3
@@ -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>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user