mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
38f106a92e
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@4704 21ef857c-d57f-4fe0-8362-d861dc6d29cd
49 lines
928 B
PHP
49 lines
928 B
PHP
<?php
|
|
$errorcode = $_SERVER['REDIRECT_STATUS'];
|
|
|
|
header("HTTP/1.0 200 OK");
|
|
|
|
$pagetitle = "Error ".$errorcode; include("header.php");
|
|
|
|
function curPageURL()
|
|
{
|
|
$pageURL = 'http';
|
|
|
|
if ($_SERVER["HTTPS"] == "on")
|
|
{
|
|
$pageURL .= "s";
|
|
}
|
|
|
|
$pageURL .= "://";
|
|
|
|
if ($_SERVER["SERVER_PORT"] != "80")
|
|
{
|
|
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
|
|
}
|
|
else
|
|
{
|
|
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
|
|
}
|
|
return $pageURL;
|
|
}
|
|
|
|
?>
|
|
|
|
<div class="center">
|
|
<div class="top-portlet">
|
|
|
|
<br>
|
|
<p class="neg">ERROR <?php echo $errorcode ?> : <?php echo curPageURL(); ?></p>
|
|
|
|
<p>Send us an e-mail and notify us about this error and try again later.</p>
|
|
|
|
<p><?php echo $php_errormsg ?></p>
|
|
|
|
<div class="menu">
|
|
<p><a href="/">Home</a></p>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<?php include("footer.php"); ?>
|