PHP 8.0.30
Preview: autoload.php Size: 2.62 KB
//home/certprox/template.certproxywizard.com/wp-content/plugins/wp-file-manager/lib/php/autoload.php

<?php

define('ELFINDER_PHP_ROOT_PATH', dirname(__FILE__));

function elFinderAutoloader($name)
{
    $map = array(
        'elFinder' => 'elFinder.class.php',
        'elFinderConnector' => 'elFinderConnector.class.php',
        'elFinderEditor' => 'editors/editor.php',
        'elFinderLibGdBmp' => 'libs/GdBmp.php',
        'elFinderPlugin' => 'elFinderPlugin.php',
        'elFinderPluginAutoResize' => 'plugins/AutoResize/plugin.php',
        'elFinderPluginAutoRotate' => 'plugins/AutoRotate/plugin.php',
        'elFinderPluginNormalizer' => 'plugins/Normalizer/plugin.php',
        'elFinderPluginSanitizer' => 'plugins/Sanitizer/plugin.php',
        'elFinderPluginWatermark' => 'plugins/Watermark/plugin.php',
        'elFinderSession' => 'elFinderSession.php',
        'elFinderSessionInterface' => 'elFinderSessionInterface.php',
        'elFinderVolumeDriver' => 'elFinderVolumeDriver.class.php',
        'elFinderVolumeDropbox2' => 'elFinderVolumeDropbox2.class.php',
        'elFinderVolumeFTP' => 'elFinderVolumeFTP.class.php',
        'elFinderVolumeFlysystemGoogleDriveCache' => 'elFinderFlysystemGoogleDriveNetmount.php',
        'elFinderVolumeFlysystemGoogleDriveNetmount' => 'elFinderFlysystemGoogleDriveNetmount.php',
        'elFinderVolumeGoogleDrive' => 'elFinderVolumeGoogleDrive.class.php',
        'elFinderVolumeGroup' => 'elFinderVolumeGroup.class.php',
        'elFinderVolumeLocalFileSystem' => 'elFinderVolumeLocalFileSystem.class.php',
        'elFinderVolumeMySQL' => 'elFinderVolumeMySQL.class.php',
        'elFinderVolumeSFTPphpseclib' => 'elFinderVolumeSFTPphpseclib.class.php',
        'elFinderVolumeTrash' => 'elFinderVolumeTrash.class.php',
    );
    if (isset($map[$name])) {
        return include_once(ELFINDER_PHP_ROOT_PATH . '/' . $map[$name]);
    }
    $prefix = substr($name, 0, 14);
    if (substr($prefix, 0, 8) === 'elFinder') {
        if ($prefix === 'elFinderVolume') {
            $file = ELFINDER_PHP_ROOT_PATH . '/' . $name . '.class.php';
            return (is_file($file) && include_once($file));
        } else if ($prefix === 'elFinderPlugin') {
            $file = ELFINDER_PHP_ROOT_PATH . '/plugins/' . substr($name, 14) . '/plugin.php';
            return (is_file($file) && include_once($file));
        } else if ($prefix === 'elFinderEditor') {
            $file = ELFINDER_PHP_ROOT_PATH . '/editors/' . substr($name, 14) . '/editor.php';
            return (is_file($file) && include_once($file));
        }
    }
    return false;
}

if (version_compare(PHP_VERSION, '5.3', '<')) {
    spl_autoload_register('elFinderAutoloader');
} else {
    spl_autoload_register('elFinderAutoloader', true, true);
}

Directory Contents

Dirs: 4 × Files: 20

Name Size Perms Modified Actions
editors DIR
- drwxr-xr-x 2026-07-27 05:53:10
Edit Download
libs DIR
- drwxr-xr-x 2026-07-27 05:53:11
Edit Download
plugins DIR
- drwxr-xr-x 2026-07-27 05:52:54
Edit Download
resources DIR
- drwxr-xr-x 2026-07-27 05:53:11
Edit Download
2.62 KB lrw-r--r-- 2026-07-27 05:53:10
Edit Download
184.68 KB lrw-r--r-- 2026-07-27 05:53:10
Edit Download
12.47 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
14.83 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
3.25 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
8.56 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
1.07 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
60.32 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
257.00 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
46.30 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
57.18 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
69.59 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
5.25 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
47.41 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
29.73 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
65.68 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
27.11 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
1.55 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
1.54 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download
24.28 KB lrw-r--r-- 2026-07-27 05:53:11
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).