mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
refactor all media create to centralise copy of medias and save, etc.
This commit is contained in:
parent
92146ba8e1
commit
04a40049ce
18 changed files with 400 additions and 367 deletions
|
@ -211,8 +211,8 @@ namespace controllers\internals;
|
|||
foreach ($medias as $media)
|
||||
{
|
||||
$media_uris[] = [
|
||||
'http_url' => HTTP_PWD_DATA . '/' . $media['path'],
|
||||
'local_uri' => PWD_DATA . '/' . $media['path'],
|
||||
'http_url' => HTTP_PWD_DATA_PUBLIC . '/' . $media['path'],
|
||||
'local_uri' => PWD_DATA_PUBLIC . '/' . $media['path'],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue