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/annonces/plugins/fields/location/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/coopiak/amisdesseniors-fr/annonces/plugins/fields/location/script.php
<?php

use Joomla\CMS\Factory;

defined('_JEXEC') or die();

class plgFieldsLocationInstallerScript
{
    public function install($parent)
    {
    }

    public function uninstall($parent)
    {
    }

    public function update($parent)
    {
    }

    public function preflight($type, $parent)
    {
    }

    public function postflight($type, $parent)
    {
        if (!in_array($type, ['install', 'update'])) {
            return;
        }

        Factory::getDbo()
            ->setQuery(
                'UPDATE #__extensions SET ' .
                    ($type == 'install' ? 'enabled = 1, ' : '') .
                    "ordering = 0 WHERE type = 'plugin' AND folder = 'fields' AND element = 'location'",
            )
            ->execute();
    }
}

Anon7 - 2022
AnonSec Team