From 190697ce986d9068373188c9d3e69548e355c049 Mon Sep 17 00:00:00 2001 From: slawkens Date: Sun, 6 Apr 2025 16:43:30 +0200 Subject: [PATCH] Update config.php --- templates/tibiacom/config.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/templates/tibiacom/config.php b/templates/tibiacom/config.php index 7ed168d9..a49f6f76 100644 --- a/templates/tibiacom/config.php +++ b/templates/tibiacom/config.php @@ -1,13 +1,13 @@ array('id' => 'news', 'name' => 'Latest News'), - MENU_CATEGORY_ACCOUNT => array('id' => 'account', 'name' => 'Account'), - MENU_CATEGORY_COMMUNITY => array('id' => 'community', 'name' => 'Community'), - MENU_CATEGORY_FORUM => array('id' => 'forum', 'name' => 'Forum'), - MENU_CATEGORY_LIBRARY => array('id' => 'library', 'name' => 'Library'), - MENU_CATEGORY_SHOP => array('id' => 'shops', 'name' => 'Shop') -); +$config['menu_categories'] = [ + MENU_CATEGORY_NEWS => ['id' => 'news', 'name' => 'Latest News'], + MENU_CATEGORY_ACCOUNT => ['id' => 'account', 'name' => 'Account'], + MENU_CATEGORY_COMMUNITY => ['id' => 'community', 'name' => 'Community'], + MENU_CATEGORY_FORUM => ['id' => 'forum', 'name' => 'Forum'], + MENU_CATEGORY_LIBRARY => ['id' => 'library', 'name' => 'Library'], + MENU_CATEGORY_SHOP => ['id' => 'shops', 'name' => 'Shop'], +]; $config['menus'] = require __DIR__ . '/menus.php';