HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/backip-old-files/plugins/vmcustom/istraxx_download_simple/install/install.php
<?php
// No direct access to this file
defined('_JEXEC') or die('Restricted access');

class plgVmCustomIstraxx_download_simpleInstallerScript{

	function install($parent) {

		$this->update($parent);
	}
 
	function uninstall($parent) {

	}
 
	function update($parent) {
		$current = dirname(__FILE__);

		if(!class_exists('GenericTableUpdater')) require(VMPATH_ADMIN .'/helpers/tableupdater.php');
		$updater = new GenericTableUpdater();

		$updater->updateMyVmTables($current .'/install.sql');

	}
 
	function preflight($type, $parent) {
		if (!class_exists( 'VmConfig' )) require(JPATH_ROOT .'/administrator/components/com_virtuemart/helpers/config.php');
		VmConfig::loadConfig();
	}
 
	function postflight($type, $parent) {

	}
	
}