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