Show error.php syntax highlighted
<?php
$URI = $_SERVER['REQUEST_URI'];
$URI = explode('/',$URI);
$count = count($URI)-2;
//if ($count) header("Location: error.php?code=".$_GET['code']);
if (!isset($_GET['code'])) header("Location: index.php");
require_once("core/engine.php");
Engine :: setFlag("separate_theme_header", true);
$Config->CONNECT();
Session :: create();
$XCS->addContent($XCS->localeString("error","_".$_GET['code']),2);
require_once("print_template.php");
?>
See more files for this project here