include to require_once

This commit is contained in:
2022-06-25 16:02:40 +03:00
parent 1406f27cd6
commit 03a4fa1275
84 changed files with 2741 additions and 17188 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ if(isset($_GET['back'])) {
unset($dp);
}
include('_incl_data/class/__dungeon.php');
require_once('_incl_data/class/__dungeon.php');
if(!isset($d->info['id'])) {
$_GET['exitd'] = true;
@@ -307,7 +307,7 @@ if( $d->point['fileadd']==1 && $d->point['file']!='0' && $d->point['file']!=''){
if( $d->point['fileadd']==0 && $d->point['file']!='0' && $d->point['file']!=''){
$file = explode('=',$d->point['file']);
if( file_exists('modules_data/location/'.$file[0]) ) {
include('modules_data/location/'.$file[0]);
require_once('modules_data/location/'.$file[0]);
} else {
if( $file[3]<1 || $file[3]>4 ) {
$file[3] = 1;