Do the last commit right
This commit is contained in:
parent
189ed76a62
commit
06aba96872
@ -91,7 +91,7 @@ class DiscoveryManager {
|
||||
$replaceWith = str_replace("hostname.host", $_SERVER['HTTP_HOST'], $this->config->getAppValue('richdocuments', 'wopi_url'));
|
||||
|
||||
// Use plain HTTP for .onion/TOR
|
||||
if (strpos($this->config->getAppValue('richdocuments', 'wopi_url'), ".onion") !== FALSE) {
|
||||
if (strpos($replaceWith, ".onion") !== FALSE) {
|
||||
$replaceWith = str_replace("https://", "http://", $replaceWith);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user