Skip to content

Instantly share code, notes, and snippets.

@boyaq
Created March 29, 2016 05:04
Show Gist options
  • Save boyaq/b5c9ece5d17db2ceacb4 to your computer and use it in GitHub Desktop.
Save boyaq/b5c9ece5d17db2ceacb4 to your computer and use it in GitHub Desktop.
Elfinder connector
```php
elFinderConnector Object
(
[elFinder:protected] => elFinder Object
(
[version:protected] => 2.1
[volumes:protected] => Array
(
[l1_] => elFinderVolumeLocalFileSystem Object
(
[driverId:protected] => l
[archiveSize:protected] => 0
[ARGS:protected] => Array
(
[cmd] => open
[target] =>
[init] => 1
[tree] => 1
[_] => 1458996271190
)
[id:protected] => l1_
[mounted:protected] => 1
[root:protected] => /disk/htdocs/xjadwokat.com/elfinder/el/files
[rootName:protected] => files
[startPath:protected] =>
[URL:protected] => /elfinder/el/php/../files/
[tmbPath:protected] => /disk/htdocs/xjadwokat.com/elfinder/el/files/.tmb
[tmbPathWritable:protected] => 1
[tmbURL:protected] => /elfinder/el/php/../files/.tmb/
[tmbSize:protected] => 48
[imgLib:protected] => imagick
[cryptLib:protected] =>
[archivers:protected] => Array
(
[create] => Array
(
[application/zip] => Array
(
[cmd] => phpfunction
[argc] => Array
(
[0] => self
[1] => zipArchiveZip
)
[ext] => zip
)
)
[extract] => Array
(
[application/zip] => Array
(
[cmd] => phpfunction
[argc] => Array
(
[0] => self
[1] => zipArchiveUnzip
)
[ext] => zip
)
)
)
[encoding:protected] =>
[treeDeep:protected] => 1
[error:protected] => Array
(
)
[today:protected] => 1459180800
[yesterday:protected] => 1459094400
[extractToNewdir:protected] => auto
[options:protected] => Array
(
[id] =>
[path] => /disk/htdocs/xjadwokat.com/elfinder/el/files
[startPath] => /disk/htdocs/xjadwokat.com/elfinder/el/files
[treeDeep] => 1
[URL] => /elfinder/el/php/../files/
[separator] => /
[encoding] =>
[locale] =>
[icon] =>
[rootCssClass] => elfinder-navbar-root-local
[searchTimeout] => 30
[searchExDirReg] =>
[cryptLib] =>
[mimeDetect] => auto
[mimefile] =>
[mimeMap] => Array
(
[md:application/x-genesis-rom] => text/x-markdown
[md:text/plain] => text/x-markdown
[markdown:text/plain] => text/x-markdown
[css:text/x-asm] => text/css
[ico:image/vnd.microsoft.icon] => image/x-icon
)
[dispInlineRegex] => ^(?:(?:image|text)|application/x-shockwave-flash$)
[tmbPath] => /disk/htdocs/xjadwokat.com/elfinder/el/files/.tmb
[tmbPathMode] => 511
[tmbURL] =>
[tmbSize] => 48
[tmbCrop] => 1
[tmbBgColor] => #ffffff
[imgLib] => auto
[jpgQuality] => 100
[copyOverwrite] => 1
[copyJoin] => 1
[uploadOverwrite] => 1
[uploadAllow] => Array
(
[0] => image
[1] => text/plain
)
[uploadDeny] => Array
(
[0] => all
)
[uploadOrder] => Array
(
[0] => deny
[1] => allow
)
[uploadMaxSize] => 0
[dateFormat] => j M Y H:i
[timeFormat] => H:i
[checkSubfolders] => 1
[copyFrom] => 1
[copyTo] => 1
[disabled] => Array
(
)
[statOwner] =>
[allowChmodReadOnly] =>
[acceptedName] => /^[^\.].*/
[accessControl] => access
[accessControlData] =>
[defaults] => Array
(
[read] => 1
[write] => 1
[locked] =>
[hidden] =>
)
[attributes] => Array
(
)
[maxArcFilesSize] => 0
[archiveMimes] => Array
(
)
[archivers] => Array
(
)
[plugin] => Array
(
)
[syncChkAsTs] => 1
[syncCheckFunc] => Array
(
[0] => elFinderVolumeLocalFileSystem Object
*RECURSION*
[1] => localFileSystemInotify
)
[plStandby] => 30
[tsPlSleep] => 10
[lsPlSleep] => 30
[syncMinMs] => 10000
[utf8fix] =>
[utf8patterns] => Array
(
[0] => \u0438\u0306
[1] => \u0435\u0308
[2] => \u0418\u0306
[3] => \u0415\u0308
[4] => \u00d8A
[5] => \u030a
)
[utf8replace] => Array
(
[0] => \u0439
[1] => \u0451
[2] => \u0419
[3] => \u0401
[4] => \u00d8
[5] => \u00c5
)
[alias] =>
[dirMode] => 493
[fileMode] => 420
[quarantine] => .quarantine
[followSymLinks] => 1
[detectDirIcon] =>
[driver] => LocalFileSystem
)
[defaults:protected] => Array
(
[read] => 1
[write] => 1
[locked] =>
[hidden] =>
)
[attributes:protected] => Array
(
[0] => Array
(
[pattern] => ~^/$~
[locked] => 1
[hidden] =>
)
[1] => Array
(
[pattern] => ~^/\.quarantine$~
[read] =>
[write] =>
[locked] => 1
[hidden] => 1
)
)
[access:protected] => access
[uploadAllow:protected] => Array
(
[0] => image
[1] => text/plain
)
[uploadDeny:protected] => Array
(
[0] => all
)
[uploadOrder:protected] => Array
(
[0] => deny
[1] => allow
)
[uploadMaxSize:protected] => 9223372036854775807
[mimeDetect:protected] => internal
[finfo:protected] =>
[disabled:protected] => Array
(
[0] => chmod
)
[separator:protected] => /
[systemRoot:protected] => /
[onlyMimes:protected] => Array
(
)
[removed:protected] => Array
(
)
[cache:protected] => Array
(
[/disk/htdocs/xjadwokat.com/elfinder/el/files] => Array
(
[isowner] =>
[ts] => 1459227534
[mime] => unknown
[read] => 1
[write] => 1
[size] => 4096
[hash] => l1_Lw
[name] => files
[csscls] => elfinder-navbar-root-local
[uiCmdMap] => Array
(
)
[disabled] => Array
(
)
[locked] => 1
)
)
[dirsCache:protected] => Array
(
)
[subdirsCache:protected] => Array
(
)
[sessionCache:protected] => Array
(
[rootstat] => Array
(
[d8de1a89259d41f0f53bafeed9c12ffd] => Array
(
[isowner] =>
[ts] => 1459137582
[mime] => unknown
[read] => 1
[write] => 1
[size] => 4096
[hash] => l1_Lw
[name] => files
[csscls] => elfinder-navbar-root-local
[uiCmdMap] => Array
(
)
[disabled] => Array
(
)
[locked] => 1
)
[59831fe18aa2eda6ca7da20ea819bf97] => Array
(
[isowner] =>
[ts] => 1459227534
[mime] => unknown
[read] => 1
[write] => 1
[size] => 4096
[hash] => l1_Lw
[name] => files
[csscls] => elfinder-navbar-root-local
[uiCmdMap] => Array
(
)
[disabled] => Array
(
)
[locked] => 1
)
)
[ARCHIVERS_CACHE] => Array
(
[create] => Array
(
[application/zip] => Array
(
[cmd] => phpfunction
[argc] => Array
(
[0] => self
[1] => zipArchiveZip
)
[ext] => zip
)
)
[extract] => Array
(
[application/zip] => Array
(
[cmd] => phpfunction
[argc] => Array
(
[0] => self
[1] => zipArchiveUnzip
)
[ext] => zip
)
)
)
)
[session:protected] => elFinderSession Object
(
[started:protected] => 1
[keys:protected] => Array
(
[default] => elFinderCaches
[netvolume] => elFinderNetVolumes
)
[base64encode:protected] =>
[opts:protected] => Array
(
[base64encode] =>
[keys] => Array
(
[default] => elFinderCaches
[netvolume] => elFinderNetVolumes
)
)
)
[searchStart:protected] =>
[doSearchCurrentQuery:protected] => Array
(
)
[nameValidator] => /^[^\.].*/
[tmp] => ./.tmp
[quarantine] => /disk/htdocs/xjadwokat.com/elfinder/el/files/.quarantine
)
)
[session:protected] => elFinderSession Object
(
[started:protected] => 1
[keys:protected] => Array
(
[default] => elFinderCaches
[netvolume] => elFinderNetVolumes
)
[base64encode:protected] =>
[opts:protected] => Array
(
[base64encode] =>
[keys] => Array
(
[default] => elFinderCaches
[netvolume] => elFinderNetVolumes
)
)
)
[netVolumesSessionKey:protected] => elFinderNetVolumes
[default:protected] => elFinderVolumeLocalFileSystem Object
(
[driverId:protected] => l
[archiveSize:protected] => 0
[ARGS:protected] => Array
(
[cmd] => open
[target] =>
[init] => 1
[tree] => 1
[_] => 1458996271190
)
[id:protected] => l1_
[mounted:protected] => 1
[root:protected] => /disk/htdocs/xjadwokat.com/elfinder/el/files
[rootName:protected] => files
[startPath:protected] =>
[URL:protected] => /elfinder/el/php/../files/
[tmbPath:protected] => /disk/htdocs/xjadwokat.com/elfinder/el/files/.tmb
[tmbPathWritable:protected] => 1
[tmbURL:protected] => /elfinder/el/php/../files/.tmb/
[tmbSize:protected] => 48
[imgLib:protected] => imagick
[cryptLib:protected] =>
[archivers:protected] => Array
(
[create] => Array
(
[application/zip] => Array
(
[cmd] => phpfunction
[argc] => Array
(
[0] => self
[1] => zipArchiveZip
)
[ext] => zip
)
)
[extract] => Array
(
[application/zip] => Array
(
[cmd] => phpfunction
[argc] => Array
(
[0] => self
[1] => zipArchiveUnzip
)
[ext] => zip
)
)
)
[encoding:protected] =>
[treeDeep:protected] => 1
[error:protected] => Array
(
)
[today:protected] => 1459180800
[yesterday:protected] => 1459094400
[extractToNewdir:protected] => auto
[options:protected] => Array
(
[id] =>
[path] => /disk/htdocs/xjadwokat.com/elfinder/el/files
[startPath] => /disk/htdocs/xjadwokat.com/elfinder/el/files
[treeDeep] => 1
[URL] => /elfinder/el/php/../files/
[separator] => /
[encoding] =>
[locale] =>
[icon] =>
[rootCssClass] => elfinder-navbar-root-local
[searchTimeout] => 30
[searchExDirReg] =>
[cryptLib] =>
[mimeDetect] => auto
[mimefile] =>
[mimeMap] => Array
(
[md:application/x-genesis-rom] => text/x-markdown
[md:text/plain] => text/x-markdown
[markdown:text/plain] => text/x-markdown
[css:text/x-asm] => text/css
[ico:image/vnd.microsoft.icon] => image/x-icon
)
[dispInlineRegex] => ^(?:(?:image|text)|application/x-shockwave-flash$)
[tmbPath] => /disk/htdocs/xjadwokat.com/elfinder/el/files/.tmb
[tmbPathMode] => 511
[tmbURL] =>
[tmbSize] => 48
[tmbCrop] => 1
[tmbBgColor] => #ffffff
[imgLib] => auto
[jpgQuality] => 100
[copyOverwrite] => 1
[copyJoin] => 1
[uploadOverwrite] => 1
[uploadAllow] => Array
(
[0] => image
[1] => text/plain
)
[uploadDeny] => Array
(
[0] => all
)
[uploadOrder] => Array
(
[0] => deny
[1] => allow
)
[uploadMaxSize] => 0
[dateFormat] => j M Y H:i
[timeFormat] => H:i
[checkSubfolders] => 1
[copyFrom] => 1
[copyTo] => 1
[disabled] => Array
(
)
[statOwner] =>
[allowChmodReadOnly] =>
[acceptedName] => /^[^\.].*/
[accessControl] => access
[accessControlData] =>
[defaults] => Array
(
[read] => 1
[write] => 1
[locked] =>
[hidden] =>
)
[attributes] => Array
(
)
[maxArcFilesSize] => 0
[archiveMimes] => Array
(
)
[archivers] => Array
(
)
[plugin] => Array
(
)
[syncChkAsTs] => 1
[syncCheckFunc] => Array
(
[0] => elFinderVolumeLocalFileSystem Object
*RECURSION*
[1] => localFileSystemInotify
)
[plStandby] => 30
[tsPlSleep] => 10
[lsPlSleep] => 30
[syncMinMs] => 10000
[utf8fix] =>
[utf8patterns] => Array
(
[0] => \u0438\u0306
[1] => \u0435\u0308
[2] => \u0418\u0306
[3] => \u0415\u0308
[4] => \u00d8A
[5] => \u030a
)
[utf8replace] => Array
(
[0] => \u0439
[1] => \u0451
[2] => \u0419
[3] => \u0401
[4] => \u00d8
[5] => \u00c5
)
[alias] =>
[dirMode] => 493
[fileMode] => 420
[quarantine] => .quarantine
[followSymLinks] => 1
[detectDirIcon] =>
[driver] => LocalFileSystem
)
[defaults:protected] => Array
(
[read] => 1
[write] => 1
[locked] =>
[hidden] =>
)
[attributes:protected] => Array
(
[0] => Array
(
[pattern] => ~^/$~
[locked] => 1
[hidden] =>
)
[1] => Array
(
[pattern] => ~^/\.quarantine$~
[read] =>
[write] =>
[locked] => 1
[hidden] => 1
)
)
[access:protected] => access
[uploadAllow:protected] => Array
(
[0] => image
[1] => text/plain
)
[uploadDeny:protected] => Array
(
[0] => all
)
[uploadOrder:protected] => Array
(
[0] => deny
[1] => allow
)
[uploadMaxSize:protected] => 9223372036854775807
[mimeDetect:protected] => internal
[finfo:protected] =>
[disabled:protected] => Array
(
[0] => chmod
)
[separator:protected] => /
[systemRoot:protected] => /
[onlyMimes:protected] => Array
(
)
[removed:protected] => Array
(
)
[cache:protected] => Array
(
[/disk/htdocs/xjadwokat.com/elfinder/el/files] => Array
(
[isowner] =>
[ts] => 1459227534
[mime] => unknown
[read] => 1
[write] => 1
[size] => 4096
[hash] => l1_Lw
[name] => files
[csscls] => elfinder-navbar-root-local
[uiCmdMap] => Array
(
)
[disabled] => Array
(
)
[locked] => 1
)
)
[dirsCache:protected] => Array
(
)
[subdirsCache:protected] => Array
(
)
[sessionCache:protected] => Array
(
[rootstat] => Array
(
[d8de1a89259d41f0f53bafeed9c12ffd] => Array
(
[isowner] =>
[ts] => 1459137582
[mime] => unknown
[read] => 1
[write] => 1
[size] => 4096
[hash] => l1_Lw
[name] => files
[csscls] => elfinder-navbar-root-local
[uiCmdMap] => Array
(
)
[disabled] => Array
(
)
[locked] => 1
)
[59831fe18aa2eda6ca7da20ea819bf97] => Array
(
[isowner] =>
[ts] => 1459227534
[mime] => unknown
[read] => 1
[write] => 1
[size] => 4096
[hash] => l1_Lw
[name] => files
[csscls] => elfinder-navbar-root-local
[uiCmdMap] => Array
(
)
[disabled] => Array
(
)
[locked] => 1
)
)
[ARCHIVERS_CACHE] => Array
(
[create] => Array
(
[application/zip] => Array
(
[cmd] => phpfunction
[argc] => Array
(
[0] => self
[1] => zipArchiveZip
)
[ext] => zip
)
)
[extract] => Array
(
[application/zip] => Array
(
[cmd] => phpfunction
[argc] => Array
(
[0] => self
[1] => zipArchiveUnzip
)
[ext] => zip
)
)
)
)
[session:protected] => elFinderSession Object
(
[started:protected] => 1
[keys:protected] => Array
(
[default] => elFinderCaches
[netvolume] => elFinderNetVolumes
)
[base64encode:protected] =>
[opts:protected] => Array
(
[base64encode] =>
[keys] => Array
(
[default] => elFinderCaches
[netvolume] => elFinderNetVolumes
)
)
)
[searchStart:protected] =>
[doSearchCurrentQuery:protected] => Array
(
)
[nameValidator] => /^[^\.].*/
[tmp] => ./.tmp
[quarantine] => /disk/htdocs/xjadwokat.com/elfinder/el/files/.quarantine
)
[commands:protected] => Array
(
[open] => Array
(
[target] =>
[tree] =>
[init] =>
[mimes] =>
[compare] =>
)
[ls] => Array
(
[target] => 1
[mimes] =>
[intersect] =>
)
[tree] => Array
(
[target] => 1
)
[parents] => Array
(
[target] => 1
)
[tmb] => Array
(
[targets] => 1
)
[file] => Array
(
[target] => 1
[download] =>
)
[zipdl] => Array
(
[targets] => 1
[download] =>
)
[size] => Array
(
[targets] => 1
)
[mkdir] => Array
(
[target] => 1
[name] => 1
)
[mkfile] => Array
(
[target] => 1
[name] => 1
[mimes] =>
)
[rm] => Array
(
[targets] => 1
)
[rename] => Array
(
[target] => 1
[name] => 1
[mimes] =>
)
[duplicate] => Array
(
[targets] => 1
[suffix] =>
)
[paste] => Array
(
[dst] => 1
[targets] => 1
[cut] =>
[mimes] =>
[renames] =>
[hashes] =>
[suffix] =>
)
[upload] => Array
(
[target] => 1
[FILES] => 1
[mimes] =>
[html] =>
[upload] =>
[name] =>
[upload_path] =>
[chunk] =>
[cid] =>
[node] =>
[renames] =>
[hashes] =>
[suffix] =>
)
[get] => Array
(
[target] => 1
[conv] =>
)
[put] => Array
(
[target] => 1
[content] =>
[mimes] =>
)
[archive] => Array
(
[targets] => 1
[type] => 1
[mimes] =>
[name] =>
)
[extract] => Array
(
[target] => 1
[mimes] =>
[makedir] =>
)
[search] => Array
(
[q] => 1
[mimes] =>
[target] =>
)
[info] => Array
(
[targets] => 1
[compare] =>
)
[dim] => Array
(
[target] => 1
)
[resize] => Array
(
[target] => 1
[width] => 1
[height] => 1
[mode] =>
[x] =>
[y] =>
[degree] =>
[quality] =>
)
[netmount] => Array
(
[protocol] => 1
[host] => 1
[path] =>
[port] =>
[user] =>
[pass] =>
[alias] =>
[options] =>
)
[url] => Array
(
[target] => 1
[options] =>
)
[callback] => Array
(
[node] => 1
[json] =>
[bind] =>
[done] =>
)
[chmod] => Array
(
[targets] => 1
[mode] => 1
)
)
[plugins:protected] => Array
(
)
[listeners:protected] => Array
(
)
[time:protected] => 1459227706.9902
[loaded:protected] => 1
[debug:protected] => 1
[sessionCloseEarlier:protected] => 1
[sessionUseCmds:protected] => Array
(
)
[timeout:protected] => 0
[uploadTempPath:protected] =>
[maxArcFilesSize:protected] => 0
[uploadDebug:protected] =>
[mountErrors] => Array
(
)
[callbackWindowURL:protected] =>
)
[options:protected] => Array
(
)
[header:protected] => Content-Type: application/json
)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment