basic layout finished

This commit is contained in:
Kristjan Komlosi
2020-07-01 15:49:57 +02:00
parent 7b3f290bf4
commit dfd393ced3
7 changed files with 65 additions and 21 deletions

11
index.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
if (strpos($_SERVER['HTTP_USER_AGENT'], 'curl') !== FALSE ||
strpos($_SERVER['HTTP_USER_AGENT'], 'Wget') !== FALSE)
{
include 'ipinfo-console.php';
}
else
{
include 'ipinfo-pretty.php';
}
?>