%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.14 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/modules/mod_jw_srfr/ |
Upload File : |
<?php
/**
* @version 3.9.0
* @package Simple RSS Feed Reader (module)
* @author JoomlaWorks - https://www.joomlaworks.net
* @copyright Copyright (c) 2006 - 2021 JoomlaWorks Ltd. All rights reserved.
* @license GNU/GPL license: https://www.gnu.org/copyleft/gpl.html
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
class mod_jw_srfrInstallerScript
{
/*
public function preflight($type, $parent)
{
echo '<p>Anything here happens before the installation/update/uninstallation of the module.</p>';
}
public function install($parent)
{
echo '<p>The module has been installed.</p>';
}
public function uninstall($parent)
{
echo '<p>The module has been uninstalled.</p>';
}
public function update($parent)
{
echo '<p>The module has been updated to version' . $parent->get('manifest')->version . '.</p>';
}
*/
public function postflight($type, $parent)
{
//echo '<p>Anything here happens after the installation/update/uninstallation of the module.</p>';
// Cleanups
if (JFile::exists(JPATH_SITE.'/modules/mod_jw_srfr/redir.php')) {
JFile::delete(JPATH_SITE.'/modules/mod_jw_srfr/redir.php');
}
// Rename XML file for Joomla 3.x
if (JFile::exists(JPATH_SITE.'/modules/mod_jw_srfr/_mod_jw_srfr.xml')) {
JFile::move(
JPATH_SITE.'/modules/mod_jw_srfr/_mod_jw_srfr.xml',
JPATH_SITE.'/modules/mod_jw_srfr/mod_jw_srfr.xml'
);
}
}
}