mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-01-18 06:16:40 +00:00
4488706e8b
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
10 lines
187 B
PHP
10 lines
187 B
PHP
<?php
|
|
// get useragent header
|
|
$user_agent = $_SERVER["HTTP_USER_AGENT"];
|
|
|
|
if (strpos($user_agent, "curl") !== false) {
|
|
include "php/curl.php";
|
|
} else {
|
|
include "index.html";
|
|
}
|
|
?>
|