mirror of
https://github.com/pelican-dev/panel.git
synced 2025-11-09 14:39:32 +01:00
use createFolder
This commit is contained in:
parent
0b6683d292
commit
decf423eb5
@ -505,7 +505,7 @@ class ListFiles extends ListRecords
|
||||
->color('primary')
|
||||
->action(function ($data) {
|
||||
try {
|
||||
$this->getDaemonFileRepository()->createDirectory($data['name'], $this->path);
|
||||
$this->createFolder($data['name']);
|
||||
|
||||
Activity::event('server:file.create-directory')
|
||||
->property(['directory' => $this->path, 'name' => $data['name']])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user