? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/administrator/components/com_xijc/
File Upload :
Current File : /home/admin/public_html/old/administrator/components/com_xijc/uninstall.xijc.php

<?php
// Check to ensure this file is within the rest of the framework
defined('_JEXEC') or die();

function com_uninstall()
{
	
	// disable plugins
	disable_plugin('xijc_router');
}

function disable_plugin($pluginname)
{
	$db			=& JFactory::getDBO();		
	$query	= 'UPDATE ' . $db->nameQuote( '#__plugins' )
			. ' SET '.$db->nameQuote('published').'='.$db->Quote('0')
          	.' WHERE '.$db->nameQuote('element').'='.$db->Quote($pluginname);

	$db->setQuery($query);		
	if(!$db->query())
		return false;
	return true;
}

T1KUS90T
  root-grov@210.1.60.28:~$