You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
578 B
PHP

<?php require 'src/loadEnv.php';
if(!$_GET && !$_POST){
http_response_code(400);
include 'src/debug/dumpSuperGlobals.php';
die;
}
if($_GET['content']=='aboutserver'){
require 'src/pages/modern/dynamic/aboutPage.php';
echo '<html><head>';
echo "<link rel=\"stylesheet\" href=\"assets/themes/".$_COOKIE['sts_theme']."/main.css\">";
echo '</head><body>';
$out = genAbout('en_US') or die('something went wrong! go piss of tyler!');
echo $out;
echo '</body></html>';
die;
}else{
include 'src/debug/dumpSuperGlobals.php';
}
?>