From f49f8cd08d3880f2e9e6549e7c84ce88c63659ae Mon Sep 17 00:00:00 2001 From: Ivor Barhansky Date: Sun, 11 Jun 2023 14:52:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=BA=D0=BB=D1=8E=D1=87?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=20=D0=B7=D0=B0=D0=B3=D1=80?= =?UTF-8?q?=D1=83=D0=B7=D1=87=D0=B8=D0=BA=D1=83=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20=D1=81=20mysql=5F*?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- news_script/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/news_script/index.php b/news_script/index.php index c111e216..64c3c7b5 100644 --- a/news_script/index.php +++ b/news_script/index.php @@ -2,7 +2,9 @@ use Core\Database; -require_once dirname(__DIR__) . DIRECTORY_SEPARATOR . '_incl_data/autoload.php'; +if (!defined('GAME_VERSION')) { + require_once '../_incl_data/autoload.php'; +} $url = explode('?', $_SERVER["REQUEST_URI"]); $url = explode('/', $url[0]);