403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.190
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/rhodeworks/wp-content/plugins/nextgen-gallery/src/Legacy/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/rhodeworks/wp-content/plugins/nextgen-gallery/src/Legacy/ngg-config.php
<?php
/**
 * Bootstrap file for getting the ABSPATH constant to wp-load.php
 * This is requried when a plugin requires access not via the admin screen.
 *
 * If the wp-load.php file is not found, then an error will be displayed
 *
 * @package WordPress
 * @since Version 2.6
 */

/** Define the server path to the file wp-config here, if you placed WP-CONTENT outside the classic file structure */

$path = ''; // It should be end with a trailing slash

/** That's all, stop editing from here */

if ( ! defined( 'WP_LOAD_PATH' ) ) {

	$legacy_root = dirname( dirname( dirname( __DIR__ ) ) ) . '/';
	$legacy_root = dirname( dirname( $legacy_root ) ) . '/';

	if ( file_exists( $legacy_root . 'wp-load.php' ) ) {
		define( 'WP_LOAD_PATH', $legacy_root );
		define( 'WP_ADMIN', true );
	} elseif ( file_exists( $path . 'wp-load.php' ) ) {
			define( 'WP_LOAD_PATH', $path );
	} else {
		throw new RuntimeException( 'Could not find wp-load.php' );
	}
}

require_once WP_LOAD_PATH . 'wp-load.php';

Youez - 2016 - github.com/yon3zu
LinuXploit