SILENT KILLERPanel

Current Path: > home > codekrsu > > > ameliagraphics.com > wp-content > plugins > essential-blocks


Operation   : Linux premium131.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
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu///ameliagraphics.com/wp-content/plugins/essential-blocks

NameTypeSizeLast ModifiedActions
assets Directory - -
includes Directory - -
languages Directory - -
src Directory - -
templates Directory - -
views Directory - -
POST_METHOD_UPDATE.md File 2644 bytes July 27 2025 13:25:28.
autoload.php File 1084 bytes August 27 2024 16:37:06.
essential-blocks.php File 765 bytes July 27 2025 13:25:28.
readme.txt File 26283 bytes July 27 2025 13:25:28.
wpml-config.xml File 3769 bytes July 11 2024 11:55:34.

Reading File: /home/codekrsu///ameliagraphics.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;
    }
});

SILENT KILLER Tool