mirror of
https://github.com/NeonGamerBot-QK/saahild.com.git
synced 2025-01-18 14:26:40 +00:00
enhancement(lint): Fix lint errors for public/index.php
Co-authored-by: NeonGamerBot-QK <saahilattud@gmail.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
af763b0fa1
commit
4488706e8b
1 changed files with 10 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
// get useragent header
|
// get useragent header
|
||||||
$user_agent = $_SERVER['HTTP_USER_AGENT'];
|
$user_agent = $_SERVER["HTTP_USER_AGENT"];
|
||||||
|
|
||||||
if(strpos($user_agent, 'curl') !== false) {
|
if (strpos($user_agent, "curl") !== false) {
|
||||||
include 'php/curl.php';
|
include "php/curl.php";
|
||||||
} else {
|
} else {
|
||||||
include 'index.html';
|
include "index.html";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue