mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
add HTTP_PWD_DATA
This commit is contained in:
parent
0dac72cf54
commit
70d01be041
2 changed files with 3 additions and 2 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 . '/data/' . $media['path'],
|
||||
'http_url' => HTTP_PWD_DATA . '/' . $media['path'],
|
||||
'local_uri' => PWD_DATA . '/' . $media['path'],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue