mirror of
https://github.com/Studio-42/elFinder
synced 2026-06-08 12:37:09 +00:00
12 lines
401 B
PHP
12 lines
401 B
PHP
<?php
|
|
|
|
class elFinderEditorZipArchive extends elFinderEditor
|
|
{
|
|
public function enabled()
|
|
{
|
|
return (!defined('ELFINDER_DISABLE_ZIPEDITOR') || !ELFINDER_DISABLE_ZIPEDITOR) &&
|
|
class_exists('Barryvdh\elFinderFlysystemDriver\Driver') &&
|
|
class_exists('League\Flysystem\Filesystem') &&
|
|
class_exists('League\Flysystem\ZipArchive\ZipArchiveAdapter');
|
|
}
|
|
} |