GRAYBYTE WORDPRESS FILE MANAGER3707

Server IP : 198.54.121.189 / Your IP : 216.73.216.224
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/ccsactwb3.org/new2/wp-content/plugins/elementskit-lite/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/ccsactwb3.org/new2/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
..
--
July 12 2025 13:54:00
giriqfky / giriqfky
0755
compatibility
--
June 25 2025 08:35:14
giriqfky / giriqfky
0755
config
--
June 25 2025 08:35:14
giriqfky / giriqfky
0755
core
--
June 25 2025 08:35:14
giriqfky / giriqfky
0755
helpers
--
June 25 2025 08:35:14
giriqfky / giriqfky
0755
languages
--
June 25 2025 08:35:14
giriqfky / giriqfky
0755
libs
--
June 25 2025 08:35:15
giriqfky / giriqfky
0755
modules
--
June 25 2025 08:35:15
giriqfky / giriqfky
0755
traits
--
June 25 2025 08:35:15
giriqfky / giriqfky
0755
widgets
--
June 25 2025 08:35:15
giriqfky / giriqfky
0755
autoloader.php
1.223 KB
May 18 2022 20:49:00
giriqfky / giriqfky
0644
elementskit-lite.php
10.645 KB
June 24 2025 13:48:04
giriqfky / giriqfky
0644
plugin.php
18.436 KB
June 24 2025 13:48:04
giriqfky / giriqfky
0644
readme.txt
68.441 KB
June 24 2025 13:48:04
giriqfky / giriqfky
0644
wpml-config.xml
39.218 KB
April 23 2025 16:04:20
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF