From 7e1e1352b488f818462535b7fe687e59c278eb57 Mon Sep 17 00:00:00 2001 From: Repellent Date: Thu, 18 Sep 2025 22:36:10 +0500 Subject: [PATCH] =?UTF-8?q?fix=20=D0=BF=D1=83=D1=82=D0=B8=20=D0=BA=20?= =?UTF-8?q?=D0=BF=D0=B0=D0=BF=D0=BA=D0=B5=20=D1=81=20=D1=88=D0=B0=D0=B1?= =?UTF-8?q?=D0=BB=D0=BE=D0=BD=D0=B0=D0=BC=D0=B8=20=D0=BF=D0=BE=20=D1=83?= =?UTF-8?q?=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- functions/func.parserequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/func.parserequest.php b/functions/func.parserequest.php index cebc359..096deea 100644 --- a/functions/func.parserequest.php +++ b/functions/func.parserequest.php @@ -822,7 +822,7 @@ function request_parse($id) $return = str_replace('[tag:content]', $items, $main_template); $return = str_replace('[tag:path]', ABS_PATH, $return); - $return = str_replace('[tag:mediapath]', ABS_PATH . 'templates/' . THEME_FOLDER . '/', $return); + $return = str_replace('[tag:mediapath]', ABS_PATH . 'templates/' . ((defined('THEME_FOLDER') === false) ? DEFAULT_THEME_FOLDER : THEME_FOLDER) . '/', $return); $return = $AVE_Core->coreModuleTagParse($return); // Фиксируем время генерации запроса