diff --git a/administrator/modules/mod_menu/menu.php b/administrator/modules/mod_menu/menu.php index 7233c28522383..98df43845b998 100644 --- a/administrator/modules/mod_menu/menu.php +++ b/administrator/modules/mod_menu/menu.php @@ -343,7 +343,7 @@ public function load($params, $enabled) if ($menutype == '*') { - require_once __DIR__ . '/preset/' . ($enabled ? 'enabled.php' : 'disabled.php'); + require __DIR__ . '/preset/' . ($enabled ? 'enabled.php' : 'disabled.php'); } else { @@ -374,7 +374,7 @@ public function load($params, $enabled) // In recovery mode, load the preset inside a special root node. $this->addChild(new JMenuNode(JText::_('MOD_MENU_RECOVERY_MENU_ROOT'), '#'), true); - require_once __DIR__ . '/preset/enabled.php'; + require __DIR__ . '/preset/enabled.php'; $this->addSeparator();