mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Add aliases for default upload processing mode
This commit is contained in:
parent
bb5c6f2d5b
commit
e02e95f648
1 changed files with 2 additions and 0 deletions
|
@ -44,7 +44,9 @@ abstract class Media extends Postable
|
|||
$hash = $this->getRecord()->hash;
|
||||
|
||||
switch(OPENVK_ROOT_CONF["openvk"]["preferences"]["uploads"]["mode"]) {
|
||||
default:
|
||||
case "default":
|
||||
case "basic":
|
||||
return "http://" . $_SERVER['HTTP_HOST'] . "/blob_" . substr($hash, 0, 2) . "/$hash.$this->fileExtension";
|
||||
break;
|
||||
case "accelerated":
|
||||
|
|
Loading…
Reference in a new issue