add HTTP_PWD_DATA
This commit is contained in:
parent
0dac72cf54
commit
70d01be041
|
@ -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'],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
@ -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%',
|
||||
|
|
Loading…
Reference in New Issue