XYZ File Manager
Current Path:
/var/www/wordpress/wp-content/plugins/wp-file-manager/lib/php
var
/
www
/
wordpress
/
wp-content
/
plugins
/
wp-file-manager
/
lib
/
php
/
📁
..
📄
MySQLStorage.sql
(2.26 KB)
📄
autoload.php
(2.54 KB)
📄
chars-test.php
(1.33 KB)
📁
editors
📄
elFinder.class.php
(177.42 KB)
📄
elFinderConnector.class.php
(12.29 KB)
📄
elFinderFlysystemGoogleDriveNetmount.php
(14.83 KB)
📄
elFinderPlugin.php
(3.25 KB)
📄
elFinderSession.php
(8.58 KB)
📄
elFinderSessionInterface.php
(1.07 KB)
📄
elFinderVolumeBox.class.php
(60.32 KB)
📄
elFinderVolumeDriver.class.php
(254.03 KB)
📄
elFinderVolumeDropbox.class.php
(40.81 KB)
📄
elFinderVolumeDropbox2.class.php
(46.32 KB)
📄
elFinderVolumeFTP.class.php
(57.08 KB)
📄
elFinderVolumeGoogleDrive.class.php
(69.59 KB)
📄
elFinderVolumeGroup.class.php
(5.25 KB)
📄
elFinderVolumeLocalFileSystem.class.php
(44.99 KB)
📄
elFinderVolumeMySQL.class.php
(29.35 KB)
📄
elFinderVolumeOneDrive.class.php
(66.22 KB)
📄
elFinderVolumeTrash.class.php
(1.55 KB)
📄
elFinderVolumeTrashMySQL.class.php
(1.54 KB)
📁
flycache
📁
libs
📄
mime.types
(24.25 KB)
📁
plugins
📁
resources
Editing: elFinderVolumeTrash.class.php
<?php /** * elFinder driver for trash bin at local filesystem. * * @author NaokiSawada **/ class elFinderVolumeTrash extends elFinderVolumeLocalFileSystem { /** * Driver id * Must be started from letter and contains [a-z0-9] * Used as part of volume id. * * @var string **/ protected $driverId = 't'; public function __construct() { parent::__construct(); // original option of the Trash $this->options['lockEverything'] = false; // Lock all items in the trash to disable delete, move, rename. // common options as the volume driver $this->options['alias'] = 'Trash'; $this->options['quarantine'] = ''; $this->options['rootCssClass'] = 'elfinder-navbar-root-trash'; $this->options['copyOverwrite'] = false; $this->options['uiCmdMap'] = array('paste' => 'hidden', 'mkdir' => 'hidden', 'copy' => 'restore'); $this->options['disabled'] = array('archive', 'duplicate', 'edit', 'extract', 'mkfile', 'places', 'put', 'rename', 'resize', 'upload'); } public function mount(array $opts) { if ($this->options['lockEverything']) { if (!is_array($opts['attributes'])) { $opts['attributes'] = array(); } $attr = array( 'pattern' => '/./', 'locked' => true, ); array_unshift($opts['attributes'], $attr); } // force set `copyJoin` to true $opts['copyJoin'] = true; return parent::mount($opts); } }
Upload File
Create Folder