File Editor
Directories:
.. (Back)
editors
flycache
libs
plugins
resources
Files:
autoload.php
elFinder.class.php
elFinderConnector.class.php
elFinderFlysystemGoogleDriveNetmount.php
elFinderPlugin.php
elFinderSession.php
elFinderSessionInterface.php
elFinderVolumeBox.class.php
elFinderVolumeDriver.class.php
elFinderVolumeDropbox.class.php
elFinderVolumeDropbox2.class.php
elFinderVolumeFTP.class.php
elFinderVolumeGoogleDrive.class.php
elFinderVolumeGroup.class.php
elFinderVolumeLocalFileSystem.class.php
elFinderVolumeMySQL.class.php
elFinderVolumeOneDrive.class.php
elFinderVolumeSFTPphpseclib.class.php
elFinderVolumeTrash.class.php
elFinderVolumeTrashMySQL.class.php
Create New File
Create
Edit File: 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); }
Save Changes
Rename File
Rename