From c03280e5b7846888a258e38ceb2716359b3e4241 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 12 Sep 2017 19:19:03 +0200 Subject: [PATCH] minmod --- build/router/controller/page.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/build/router/controller/page.php b/build/router/controller/page.php index d7ef951..04a45d2 100644 --- a/build/router/controller/page.php +++ b/build/router/controller/page.php @@ -47,10 +47,12 @@ foreach($diplomes as $id=>$name){ - if( !file_exists(__ROOT__."/tmp/$id.ics") ) - echo "$name
"; - else - echo "$name
"; + echo "$name"; + + $link = $_SERVER['HTTP_HOST']."/ics/$id.ics"; + // if( file_exists(__ROOT__."/tmp/$id.ics") ) + + echo " -> $link
"; }