REQUEST_URI Added
This commit is contained in:
parent
6db86ee12d
commit
e693cd088e
|
@ -48,11 +48,12 @@
|
||||||
|
|
||||||
echo "<tr><td>$name</td>";
|
echo "<tr><td>$name</td>";
|
||||||
|
|
||||||
$link = $_SERVER['HTTP_HOST']."/ics/$id.ics";
|
$URI = $_SERVER['REQUEST_URI'];
|
||||||
echo "<td><a href='/info/$id'>Set colors</a></td>";
|
$link = $_SERVER['HTTP_HOST']."{$URI}ics/$id.ics";
|
||||||
|
echo "<td><a href='${URI}info/$id'>Set colors</a></td>";
|
||||||
echo "<td><a";
|
echo "<td><a";
|
||||||
if( file_exists(__ROOT__."/tmp/$id.ics") )
|
if( file_exists(__ROOT__."/tmp/$id.ics") )
|
||||||
echo " href='/ics/$id.ics'";
|
echo " href='${URI}ics/$id.ics'";
|
||||||
|
|
||||||
echo ">https://$link</a></td>";
|
echo ">https://$link</a></td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
|
|
Loading…
Reference in New Issue