Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-content
/
plugins
/
redirection
/
locale
/
json
/
File Content:
elFinderPlugin.php
<?php /** * elFinder Plugin Abstract * * @package elfinder * @author Naoki Sawada * @license New BSD */ class elFinderPlugin { /** * This plugin's options * * @var array */ protected $opts = array(); /** * Get current volume's options * * @param object $volume * * @return array options */ protected function getCurrentOpts($volume) { $name = substr(get_class($this), 14); // remove "elFinderPlugin" $opts = $this->opts; if (is_object($volume)) { $volOpts = $volume->getOptionsPlugin($name); if (is_array($volOpts)) { $opts = array_merge($opts, $volOpts); } } return $opts; } /** * Is enabled with options * * @param array $opts * @param elFinder $elfinder * * @return boolean */ protected function iaEnabled($opts, $elfinder = null) { if (!$opts['enable']) { return false; } // check post var 'contentSaveId' to disable this plugin if ($elfinder && !empty($opts['disableWithContentSaveId'])) { $session = $elfinder->getSession(); $urlContentSaveIds = $session->get('urlContentSaveIds', array()); if (!empty(elFinder::$currentArgs['contentSaveId']) && ($contentSaveId = elFinder::$currentArgs['contentSaveId'])) { if (!empty($urlContentSaveIds[$contentSaveId])) { $elfinder->removeUrlContentSaveId($contentSaveId); return false; } } } if (isset($opts['onDropWith']) && !is_null($opts['onDropWith'])) { // plugin disabled by default, enabled only if given key is pressed if (isset($_REQUEST['dropWith']) && $_REQUEST['dropWith']) { $onDropWith = $opts['onDropWith']; $action = (int)$_REQUEST['dropWith']; if (!is_array($onDropWith)) { $onDropWith = array($onDropWith); } foreach ($onDropWith as $key) { $key = (int)$key; if (($action & $key) === $key) { return true; } } } return false; } if (isset($opts['offDropWith']) && !is_null($opts['offDropWith']) && isset($_REQUEST['dropWith'])) { // plugin enabled by default, disabled only if given key is pressed $offDropWith = $opts['offDropWith']; $action = (int)$_REQUEST['dropWith']; if (!is_array($offDropWith)) { $offDropWith = array($offDropWith); } $res = true; foreach ($offDropWith as $key) { $key = (int)$key; if ($key === 0) { if ($action === 0) { $res = false; break; } } else { if (($action & $key) === $key) { $res = false; break; } } } if (!$res) { return false; } } return true; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
DownloadConfController.php
945 bytes
0644
LimitStream.php
4209 bytes
0644
base.php
2793 bytes
0644
class.pack.database.php
30838 bytes
0644
define.php
4567 bytes
0644
elFinderPlugin-20260706234041.php
3331 bytes
0644
elFinderPlugin.php
3331 bytes
0644
manager.php
14659 bytes
0644
module.php
1297 bytes
0644
redirection-de_DE.json
57713 bytes
0644
redirection-en_AU.json
48219 bytes
0644
redirection-en_CA.json
52462 bytes
0644
redirection-en_GB.json
52161 bytes
0644
redirection-en_NZ.json
47730 bytes
0644
redirection-en_ZA.json
52499 bytes
0644
redirection-es_ES.json
57414 bytes
0644
redirection-es_MX.json
57451 bytes
0644
redirection-es_VE.json
57437 bytes
0644
redirection-fa_IR.json
39616 bytes
0644
redirection-fr_CA.json
52896 bytes
0644
redirection-fr_FR.json
59358 bytes
0644
redirection-gl_ES.json
53796 bytes
0644
redirection-it_IT.json
51912 bytes
0644
redirection-ja.json
51301 bytes
0644
redirection-lv.json
25711 bytes
0644
redirection-nl_NL.json
55706 bytes
0644
redirection-pt_BR.json
57026 bytes
0644
redirection-ru_RU.json
50813 bytes
0644
redirection-sv_SE.json
55444 bytes
0644
redirection-zh_TW.json
15112 bytes
0644
setup.php
2699 bytes
0644
N4ST4R_ID | Naxtarrr