mirror of
https://github.com/openvk/openvk
synced 2025-07-01 21:48:17 +03:00
Merge 522ecbe9af
into c8a97f8b8d
This commit is contained in:
commit
e7e8be60fc
2 changed files with 2 additions and 2 deletions
|
@ -218,7 +218,7 @@ class Audio extends Media
|
||||||
return ovk_scheme(true)
|
return ovk_scheme(true)
|
||||||
. $_SERVER["HTTP_HOST"] . ":"
|
. $_SERVER["HTTP_HOST"] . ":"
|
||||||
. $_SERVER["HTTP_PORT"]
|
. $_SERVER["HTTP_PORT"]
|
||||||
. "/assets/packages/static/openvk/audio/nomusic.mp3";
|
. "/assets/packages/static/openvk/audio/api_unallowed.mp3";
|
||||||
}
|
}
|
||||||
|
|
||||||
$key = bin2hex($this->getRecord()->token);
|
$key = bin2hex($this->getRecord()->token);
|
||||||
|
@ -391,7 +391,7 @@ class Audio extends Media
|
||||||
* 9. searchable - Can be found via search?
|
* 9. searchable - Can be found via search?
|
||||||
* 10. unique_id - Unique ID of audio
|
* 10. unique_id - Unique ID of audio
|
||||||
*
|
*
|
||||||
* @notice that in case if exposeOriginalURLs is set to false in config, "url" will always contain link to nomusic.mp3,
|
* @notice that in case if exposeOriginalURLs is set to false in config, "url" will always contain link to api_unallowed.mp3,
|
||||||
* unless $forceURLExposure is set to true.
|
* unless $forceURLExposure is set to true.
|
||||||
*
|
*
|
||||||
* @notice may trigger db flush if the audio is not processed yet, use with caution on unsaved models.
|
* @notice may trigger db flush if the audio is not processed yet, use with caution on unsaved models.
|
||||||
|
|
BIN
Web/static/audio/api_unallowed.mp3
Normal file
BIN
Web/static/audio/api_unallowed.mp3
Normal file
Binary file not shown.
Loading…
Reference in a new issue