ACC SHELL

Path : /srv/www/vhosts/pekab/
File Upload :
Current File : /srv/www/vhosts/pekab/index.php

<?php
require "system.php";

$web = dirname($_SERVER['PHP_SELF']); if($web === '/') $web = '';
$url = explode('/', input(@$_GET['url']));

$redirect = array(
	''	=> 'home'
);
if(array_key_exists(@$url[0], $redirect))
	die(header("Location: $web/".$redirect[$url[0]], TRUE, 301));

if (isset($url[1])){
    if(file_exists("inc/$url[1].inc.php"))
        include "inc/$url[1].inc.php";
    else include "inc/404.php";
} elseif(file_exists("inc/$url[0].inc.php"))
	include "inc/$url[0].inc.php";
elseif(($data = stranka($url[0])) !== FALSE)
	include "inc/stranka.php";
else
	include "inc/404.php";

ACC SHELL 2018