uawdijnntqw1x1x1
IP : 216.73.216.98
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
/
administrator
/
manifests
/
.
/
.
/
.
/
packages
/
widgetkit
/
script.php
/
/
<?php class pkg_widgetkitInstallerScript { public function install($parent) { $this->enablePlugins(); } public function uninstall($parent) {} public function update($parent) { $this->enablePlugins(); } public function preflight($type, $parent) { $params = JFactory::getDBO()->setQuery("SELECT manifest_cache FROM `#__extensions` WHERE `element` = 'com_widgetkit'")->loadResult(); if ($params = @json_decode($params, true) and isset($params['version']) && version_compare($params['version'], '2.0.0', '<')) { JError::raiseWarning(null, 'Cannot install Widgetkit 2.0, please read the <a href="https://yootheme.com/support/widgetkit/migration" target="_blank">Widgetkit migration guide</a>'); return false; } } public function postflight($type, $parent) { // updateservers url update workaround if ('update' == $type) { $db = JFactory::getDBO(); if ($parent->manifest->updateservers) { $servers = $parent->manifest->updateservers->children(); $db->setQuery( "UPDATE `#__update_sites` a" . " LEFT JOIN `#__update_sites_extensions` b ON b.update_site_id = a.update_site_id" . " SET location = " . $db->quote(trim((string) $servers[0])) . ', enabled = 1' . " WHERE b.extension_id = (SELECT `extension_id` FROM `#__extensions` WHERE `type` = 'package' AND `element` = 'pkg_widgetkit')" )->execute(); } } } public function enablePlugins() { JFactory::getDBO()->setQuery("UPDATE `#__extensions` SET `enabled` = 1 WHERE `element` = 'widgetkit' AND `folder` IN ('content', 'editors-xtd', 'system')")->execute(); } }
/home/locationbo/www/administrator/manifests/./././packages/widgetkit/script.php