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
"; }