403Webshell
Server IP : 188.114.96.3  /  Your IP : 216.73.216.143
Web Server : Apache
System : Linux sv058.home.net.pl 6.8.2 husak_dirty_pages_fix #1 SMP PREEMPT_DYNAMIC Tue Apr 2 22:06:51 CEST 2024 x86_64
User :  ( 3194769)
PHP Version : 8.5.12
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /polana/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /polana/sitemap.php
<?php
declare(strict_types=1);
/** POLANA V16.6: dynamiczna mapa XML, identyczna pod /sitemap.xml i /sitemap.php */
require_once __DIR__.'/includes/functions.php';
require_once (is_file(__DIR__.'/includes/polana_v164_seo.php') ? __DIR__.'/includes/polana_v164_seo.php' : __DIR__.'/includes/polana_v166_seo.php');
try {
    $data=p164_sitemap_data();
    $xml=p164_sitemap_xml($data);
    header('Content-Type: application/xml; charset=UTF-8');
    header('Cache-Control: public, max-age=300');
    header('X-Content-Type-Options: nosniff');
    echo $xml;
} catch (Throwable $e) {
    error_log('POLANA V166 sitemap: '.$e->getMessage());
    http_response_code(503);
    header('Content-Type: text/plain; charset=UTF-8');
    header('Cache-Control: no-store');
    echo 'Sitemap temporarily unavailable';
}

Youez - 2016 - github.com/yon3zu
LinuXploit