mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-01-28 12:38:40 +00:00
Automated formatting changes
This commit is contained in:
parent
02d833f869
commit
3dc169e935
|
|
@ -29,8 +29,8 @@ class Navigation
|
|||
/**
|
||||
* Install navigation providing
|
||||
*
|
||||
* @param string $path Module path
|
||||
* @param ApplicationAbstract $app Application
|
||||
* @param string $path Module path
|
||||
* @param ApplicationAbstract $app Application
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
|
|
|
|||
|
|
@ -451,9 +451,9 @@ final class ApiController extends Controller
|
|||
$uploadedFiles = $request->getFiles() ?? [];
|
||||
|
||||
if (!empty($uploadedFiles)) {
|
||||
$upload = new UploadFile();
|
||||
$upload = new UploadFile();
|
||||
$upload->preserveFileName = false;
|
||||
$upload->soutputDir = __DIR__ . '/../../../Web/Backend/img';
|
||||
$upload->soutputDir = __DIR__ . '/../../../Web/Backend/img';
|
||||
|
||||
$status = $upload->upload($uploadedFiles, 'logo.png', true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user