MOON
Server: Apache
System: Linux server.netcommlabs.in 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
User: dermova (1051)
PHP: 5.4.45
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/dermova/public_html/india/wp-content/plugins/wptouch/core/icon-set-installer.php
<?php

require_once( ABSPATH . '/wp-admin/includes/class-wp-upgrader.php' );

class WPtouchIconSetSkin extends WP_Upgrader_Skin {
	function header() {}
	function footer() {}
	function error( $errors ) {}
	function feedback( $string ) {}
}

class WPtouchIconSetInstaller extends WP_Upgrader {
	function __construct() {
		$skin = new WPtouchIconSetSkin;
		parent::__construct( $skin );
	}

	function install( $name, $package ) {
		$options = array(
			'package' => $package,
			'destination' => WPTOUCH_BASE_CONTENT_DIR . '/icons/' . $name,
			'clear_destination' => true,
			'clear_working' => true
		);

		$this->run( $options );
	}
}