GRAYBYTE WORDPRESS FILE MANAGER9346

Server IP : 198.54.121.189 / Your IP : 216.73.216.34
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/trustyourlawyer.com/wp-content/plugins/essential-blocks/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/essential-blocks//autoload.php
<?php

spl_autoload_register(function ($class) {
    // project-specific namespace prefix
    $prefix = 'EssentialBlocks\\';

    // base directory for the namespace prefix
    $base_dir = __DIR__ . '/includes/';

    // does the class use the namespace prefix?
    $len = strlen($prefix);
    if (strncmp($prefix, $class, $len) !== 0) {
        // no, move to the next registered autoloader
        return;
    }

    /**
     * This is for blocks autoloading.
     */
    // $class_array = explode('\\', $class);
    // if( ! empty( $class_array[1] ) && $class_array[1] === 'blocks' ) {
    //     $base_dir = __DIR__ . '/';
    // }

    // get the relative class name
    $relative_class = substr($class, $len);

    // replace the namespace prefix with the base directory, replace namespace
    // separators with directory separators in the relative class name, append
    // with .php
    $file = $base_dir . str_replace('\\', DIRECTORY_SEPARATOR, $relative_class) . '.php';

    // if the file exists, require it
    if (file_exists($file)) {
        require $file;
    }
});

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:19
giriqfky / giriqfky
0755
assets
--
July 10 2025 04:32:25
giriqfky / giriqfky
0755
includes
--
July 10 2025 04:32:25
giriqfky / giriqfky
0755
languages
--
July 10 2025 04:32:25
giriqfky / giriqfky
0755
src
--
July 10 2025 04:32:24
giriqfky / giriqfky
0755
templates
--
July 10 2025 04:32:25
giriqfky / giriqfky
0755
views
--
July 10 2025 04:32:24
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:24
giriqfky / giriqfky
0644
autoload.php
1.059 KB
August 27 2024 16:37:06
giriqfky / giriqfky
0644
essential-blocks.php
0.747 KB
June 29 2025 14:07:42
giriqfky / giriqfky
0644
readme.txt
26.812 KB
June 29 2025 14:07:42
giriqfky / giriqfky
0644
wpml-config.xml
3.681 KB
July 11 2024 11:55:34
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF