HEX
Server: LiteSpeed
System: Linux server902.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: digircle (1593)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //var/softaculous/sitepad/editor/site-data/plugins/loginizer-security/lib/MaxMind/autoloader.php
<?php
function loginizer_maxmind_autoloader($class){
    $prefix = 'LoginizerMaxMind\\Db\\';
    $base_dir = __DIR__ . '/Db/';

    if(strncmp($class, $prefix, strlen($prefix)) !== 0){
        return;
    }

    $relative = substr($class, strlen($prefix));
    $relative_path = str_replace('\\', '/', $relative) . '.php';
    $file = $base_dir . $relative_path;

    if(file_exists($file)){
        include_once $file;
    }
}
spl_autoload_register('loginizer_maxmind_autoloader');