Removing ROOT_PATH

This commit is contained in:
Dennis Eichhorn 2017-03-31 15:19:09 +02:00
parent adf58d3ee8
commit 213c4f674a

View File

@ -64,7 +64,7 @@ class UploadFile
* @var string
* @since 1.0.0
*/
private $outputDir = 'Modules/Media/Files';
private $outputDir = __DIR__ . '/../../Modules/Media/Files';
/**
* Output file name.
@ -103,7 +103,7 @@ class UploadFile
}
$this->findOutputDir($files);
$path = ROOT_PATH . $this->outputDir;
$path = $this->outputDir;
foreach ($files as $key => $f) {
$result[$key] = [];