diff --git a/src/LfmItem.php b/src/LfmItem.php index e7f48747..92545994 100644 --- a/src/LfmItem.php +++ b/src/LfmItem.php @@ -110,6 +110,13 @@ public function size() public function time() { + if (function_exists('config')) { + $disk = $this->helper->config('disk'); + $driver = $disk ? config("filesystems.disks.$disk.driver") : null; + if (($driver == 'bunny' || $driver == 'bunnycdn') && $this->isDirectory()) { + return null; + } + } return $this->lfm->lastModified(); }