Файловый менеджер - Редактировать - /var/www/html/administrator/components/com_kunena/install/sql/updates/php/5.2.15-2021-08-24_configuration_default_template.php
Ðазад
<?php /** * Kunena Component * * @package Kunena.Installer * * @copyright Copyright (C) 2008 - 2026 Kunena Team. All rights reserved. * @license https://www.gnu.org/copyleft/gpl.html GNU/GPL * @link https://www.kunena.org **/ defined('_JEXEC') or die(); use Joomla\CMS\Language\Text; use Kunena\Forum\Libraries\Factory\KunenaFactory; // Kunena 6.0.0: Set Aurelia as default template in config when update /** * @param string $parent parent * * @return array * * @throws Exception * @since Kunena 6.0 */ function kunena_5215_2021_08_24_configuration_default_template($parent) { $config = KunenaFactory::getConfig(); if (isset($config->template)) { if ($config->template == 'crypsis' || $config->template == 'crypsisb3' || $config->template == 'crypsisb4' || $config->template == 'blue_eagle5') { $config->set('template', 'aurelia'); } } // Save configuration $config->save(); return ['action' => '', 'name' => Text::_('COM_KUNENA_INSTALL_5215_SET_AURELIA_AS_DEFAULT_IN_CONFIGURATION'), 'success' => true]; }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка