C:\xampp\htdocs\landing\wp-content\updraft\plugins-old\wp-file-manager\lib\php\autoload.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<?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',
        
'elFinderVolumeTrash' => 'elFinderVolumeTrash.class.php',
    );
    if (isset(
$map[$name])) {
        return include_once(
ELFINDER_PHP_ROOT_PATH '/' $map[$name]);
    }
    
$prefix substr($name014);
    if (
substr($prefix08) === '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($name14) . '/plugin.php';
            return (
is_file($file) && include_once($file));
        } else if (
$prefix === 'elFinderEditor') {
            
$file ELFINDER_PHP_ROOT_PATH '/editors/' substr($name14) . '/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'truetrue);
}

x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586