CoreFiles by mySites.guru
langforum.php26 lines, 630 bytes, from Joomla_4.2.4-Stable-Full_Package.zip
Raw History Compare with 4.2.3
md5
c6a894ce7ec055bdcb94a1bfb7fed332
sha1
693643fd9eb6fbd9a29c43accbe30a2839ad1230
sha256
5af7e2df541112e2ba7ea174d26e0a5a36800525fcd8894050409e0ad620040d
<?php

/**
 * @package     Joomla.Administrator
 * @subpackage  com_admin
 *
 * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

use Joomla\CMS\Factory;
use Joomla\CMS\Language\Text;

Factory::getLanguage()->load('mod_menu', JPATH_ADMINISTRATOR);

$forumId   = (int) Text::_('MOD_MENU_HELP_SUPPORT_OFFICIAL_LANGUAGE_FORUM_VALUE');

if (empty($forumId)) {
    $forumId = 511;
}

$forumUrl = 'https://forum.joomla.org/viewforum.php?f=' . $forumId;

Factory::getApplication()->redirect($forumUrl);

The same content is in 40 releases, Joomla 4.2.0-beta3 to 5.0.0-alpha1. See them all, or every version of this file.