GRAYBYTE WORDPRESS FILE MANAGER5630

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/wp-content/plugins/metform/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/metform//autoloader.php
<?php
namespace MetForm;
defined( 'ABSPATH' ) || exit;

/**
 * MetForm 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( [ __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(
                [ '/\b'.__NAMESPACE__.'\\\/', '/([a-z])([A-Z])/', '/_/', '/\\\/' ],
                [ '', '$1-$2', '-', DIRECTORY_SEPARATOR],
                $class_name
            )
        );

        // Compile our path from the corosponding location.
        $file = plugin_dir_path(__FILE__) . $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 13 2025 10:54:02
inteuuod / inteuuod
0755
base
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
controls
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
core
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
languages
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
public
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
templates
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
traits
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
trunk
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
utils
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
widgets
--
July 10 2025 04:32:24
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:24
inteuuod / inteuuod
0644
autoloader.php
1.407 KB
November 22 2019 13:54:50
inteuuod / inteuuod
0644
metform.php
1.666 KB
July 02 2025 15:04:38
inteuuod / inteuuod
0644
phpcs.xml
3.898 KB
September 19 2023 10:06:44
inteuuod / inteuuod
0644
plugin.php
27.75 KB
July 02 2025 15:04:38
inteuuod / inteuuod
0644
readme.txt
23.214 KB
July 02 2025 15:04:38
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF