uawdijnntqw1x1x1
IP : 216.73.216.77
Hostname : webm007.cluster114.gra.hosting.ovh.net
Kernel : Linux webm007.cluster114.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
locationbo
/
www
/
.
/
plugins
/
installer
/
jeventsinstaller
/
jeventsinstaller.php
/
/
<?php /** * @package GWE Systems * @subpackage Installer.JEventsInstaller * * @copyright Copyright (C) 2016 - 2021 GWE Systems Ltd. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */ defined('JPATH_BASE') or die; use Joomla\CMS\Plugin\CMSPlugin; use Joomla\CMS\Installer\InstallerHelper; use Joomla\CMS\Factory; class PlgInstallerJeventsinstaller extends CMSPlugin { /* * Download Package URL checking - called from InstallerHelper::downloadPackage */ public function onInstallerBeforePackageDownload(&$url, &$headers) { // Fix the update URL! $pos = strpos($url, "www.jevents.net/updates/download"); if ($pos > 0) { $downloadroot = "https://www.jevents.net/updates/download/"; $updatesroot = "https://www.jevents.net/updates/"; $tempurl = str_replace("www.jevents.net/updates/download/", "", substr($url, $pos)); $parts = explode("/", $tempurl); if (count($parts) == 2) { list($codepart, $filepart) = $parts; $filename = substr($filepart, 0, strpos($filepart, "-update-")); //echo $filename."<Br/>"; $db = Factory::getDbo(); $db->setQuery("SELECT * FROM #__update_sites WHERE location LIKE " . $db->quote("%" . $filename . "-update-%")); $updatesite = $db->loadObject(); if ($updatesite) { $newurl = str_replace(array($updatesroot, ".xml"), array($downloadroot, ".zip"), $updatesite->location); $url = $newurl; // echo "new url = ".$newurl; } } } } }
/home/locationbo/www/./plugins/installer/jeventsinstaller/jeventsinstaller.php