mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-01 02:46:04 +01:00
Nixed path from payload
This commit is contained in:
@@ -1442,7 +1442,6 @@ class AdminController extends AdminBaseController
|
||||
$type = $fileInfo->getType();
|
||||
$payload = [
|
||||
'filename' => $fileInfo->getFilename(),
|
||||
'path' => $fileInfo->getPath(),
|
||||
'basename' => $fileInfo->getBasename(),
|
||||
'extension' => $type === 'dir' ? '' : $fileInfo->getExtension(),
|
||||
'type' => $type,
|
||||
|
||||
Reference in New Issue
Block a user