Submit
Path:
~
/
/
usr
/
local
/
lsws
/
add-ons
/
webcachemgr
/
File Content:
autoloader.php
<?php /* * ********************************************* * LiteSpeed Web Server Cache Manager * @Author: LiteSpeed Technologies, Inc. (https://www.litespeedtech.com) * @Copyright: (c) 2018 * ******************************************* */ spl_autoload_register(function($class) { /** * project-specific namespace prefix */ $prefix = 'Lsc\\Wp\\'; /** * base directory for the namespace prefix */ $base_dir = __DIR__ . '/src/'; $len = strlen($prefix); if ( strncmp($prefix, $class, $len) !== 0 ) { /** * Class use the namespace prefix, * move to the next registered autoloader. */ return; } $relative_class_name = substr($class, $len); $file = $base_dir . str_replace('\\', '/', $relative_class_name) . '.php'; if ( file_exists($file) ) { require $file; } });
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
src
---
0775
MIN_VER
9 bytes
0644
VERSION
8 bytes
0664
autoloader.php
885 bytes
0664
bootstrap.php
527 bytes
0664
bootstrap_cli.php
531 bytes
0664
N4ST4R_ID | Naxtarrr