From b0e88aea5e2615d8231b5384aa150545550d8f7a Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 30 Jan 2026 23:07:43 +0100 Subject: [PATCH] Use __DIR__ instead of template path --- templates/tibiacom/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tibiacom/index.php b/templates/tibiacom/index.php index 05236018..75c46ce9 100644 --- a/templates/tibiacom/index.php +++ b/templates/tibiacom/index.php @@ -432,7 +432,7 @@ foreach($config['menu_categories'] as $id => $cat) { foreach($config['boxes'] as $box) { /** @var string $template_name */ - $file = TEMPLATES . $template_name . '/boxes/' . $box . '.php'; + $file = __DIR__ . '/boxes/' . $box . '.php'; if(file_exists($file)) { include($file); ?>