fix(legacy): args comma syntax error
This commit is contained in:
parent
3f2f2cb50b
commit
9001a18f2d
|
@ -31,7 +31,7 @@ class CORSHelper
|
||||||
|
|
||||||
return array_merge(
|
return array_merge(
|
||||||
$config['allowedCorsOrigins'],
|
$config['allowedCorsOrigins'],
|
||||||
self::getDatabaseAllowedOrigins(),
|
self::getDatabaseAllowedOrigins()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ class CORSHelper
|
||||||
'trim',
|
'trim',
|
||||||
explode(
|
explode(
|
||||||
PHP_EOL,
|
PHP_EOL,
|
||||||
Application_Model_Preference::GetAllowedCorsUrls(),
|
Application_Model_Preference::GetAllowedCorsUrls()
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ class Application_Service_MediaService
|
||||||
$newTempFilePath,
|
$newTempFilePath,
|
||||||
$importedStorageDirectory,
|
$importedStorageDirectory,
|
||||||
basename($originalFilename),
|
basename($originalFilename),
|
||||||
$fileId,
|
$fileId
|
||||||
);
|
);
|
||||||
|
|
||||||
return $newTempFilePath;
|
return $newTempFilePath;
|
||||||
|
|
Loading…
Reference in New Issue