1
0

cannonconquest

This commit is contained in:
2018-01-04 01:38:31 +01:00
parent e8fa801cce
commit 9c0e372027
7 changed files with 91 additions and 2 deletions

View File

@@ -41,6 +41,8 @@ function httpError($errorcode, $message)
{
ob_clean();
http_response_code($errorcode);
global $OPTIONS;
$OPTIONS = [ 'code' => $errorcode, 'message' => $message ];
require (__DIR__ . '/../pages/errorview.php');

View File

@@ -8,7 +8,6 @@ class Programs
$a['file_longdescription'] = (__DIR__ . '/../statics/programs/' . $a['internal_name'] . '_descrition.md');
$a['url'] = '/programs/view/' . $a['internal_name'];
return $a;
}