editor.php 401 B

123456789101112
  1. <?php
  2. class elFinderEditorZipArchive extends elFinderEditor
  3. {
  4. public function enabled()
  5. {
  6. return (!defined('ELFINDER_DISABLE_ZIPEDITOR') || !ELFINDER_DISABLE_ZIPEDITOR) &&
  7. class_exists('Barryvdh\elFinderFlysystemDriver\Driver') &&
  8. class_exists('League\Flysystem\Filesystem') &&
  9. class_exists('League\Flysystem\ZipArchive\ZipArchiveAdapter');
  10. }
  11. }