UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
lms_fc9b9b93c3b2
/
vendor
/
league
/
flysystem
/
src
/
Plugin
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
EmptyDir.php
<?php namespace League\Flysystem\Plugin; class EmptyDir extends AbstractPlugin { /** * Get the method name. * * @return string */ public function getMethod() { return 'emptyDir'; } /** * Empty a directory's contents. * * @param string $dirname */ public function handle($dirname) { $listing = $this->filesystem->listContents($dirname, false); foreach ($listing as $item) { if ($item['type'] === 'dir') { $this->filesystem->deleteDir($item['path']); } else { $this->filesystem->delete($item['path']); } } } }
Copyright © 2026 - UnknownSec