Merge pull request #2376 from marius311/revert_urlbase

Revert "web: always use secure URL base if available."
This commit is contained in:
Kevin Reed 2018-03-06 15:41:06 -06:00 committed by GitHub
commit 93bb8d0117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ function secure_url_base() {
}
function url_base() {
return secure_url_base();
return is_https()?secure_url_base():URL_BASE;
}
function send_cookie($name, $value, $permanent, $ops=false) {