add HTTP_PWD_DATA

This commit is contained in:
osaajani 2021-03-21 17:14:52 +01:00
parent 0dac72cf54
commit 70d01be041
2 changed files with 3 additions and 2 deletions

View File

@ -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'],
];
}

View File

@ -16,6 +16,7 @@
'HTTP_PWD_SOUND' => HTTP_PWD_ASSETS . '/sounds',
'PWD_ADAPTERS' => PWD . '/adapters',
'PWD_DATA' => PWD . '/data',
'HTTP_PWD_DATA' => HTTP_PWD . '/data',
'PWD_LOGS' => '/var/log/raspisms',
'PWD_PID' => '/var/run/raspisms',
'APP_SECRET' => '%APP_SECRET%',