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