From e693cd088e95d1f3be9b8f89aa2551cec550dd84 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 13 Sep 2017 15:48:56 +0200 Subject: [PATCH] REQUEST_URI Added --- build/router/controller/page.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/build/router/controller/page.php b/build/router/controller/page.php index a5524d5..38c3080 100644 --- a/build/router/controller/page.php +++ b/build/router/controller/page.php @@ -48,11 +48,12 @@ echo "$name"; - $link = $_SERVER['HTTP_HOST']."/ics/$id.ics"; - echo "Set colors"; + $URI = $_SERVER['REQUEST_URI']; + $link = $_SERVER['HTTP_HOST']."{$URI}ics/$id.ics"; + echo "Set colors"; echo "https://$link"; echo "";