mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-02-17 01:38:41 +00:00
Removing ROOT_PATH
This commit is contained in:
parent
adf58d3ee8
commit
213c4f674a
|
|
@ -64,7 +64,7 @@ class UploadFile
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $outputDir = 'Modules/Media/Files';
|
private $outputDir = __DIR__ . '/../../Modules/Media/Files';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Output file name.
|
* Output file name.
|
||||||
|
|
@ -103,7 +103,7 @@ class UploadFile
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->findOutputDir($files);
|
$this->findOutputDir($files);
|
||||||
$path = ROOT_PATH . $this->outputDir;
|
$path = $this->outputDir;
|
||||||
|
|
||||||
foreach ($files as $key => $f) {
|
foreach ($files as $key => $f) {
|
||||||
$result[$key] = [];
|
$result[$key] = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user