summaryrefslogtreecommitdiff
path: root/app/Helper/Url.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Helper/Url.php')
-rw-r--r--app/Helper/Url.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Helper/Url.php b/app/Helper/Url.php
index edb26841..3658ef5f 100644
--- a/app/Helper/Url.php
+++ b/app/Helper/Url.php
@@ -125,7 +125,7 @@ class Url extends Base
return 'http://localhost/';
}
- $url = Request::isHTTPS() ? 'https://' : 'http://';
+ $url = $this->request->isHTTPS() ? 'https://' : 'http://';
$url .= $_SERVER['SERVER_NAME'];
$url .= $_SERVER['SERVER_PORT'] == 80 || $_SERVER['SERVER_PORT'] == 443 ? '' : ':'.$_SERVER['SERVER_PORT'];
$url .= $this->dir() ?: '/';