Exemple #1
0
    private static function error($in_detail)
    {
        JxWuiUtil::http_status(500, 'Internal Server Error');
        ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>500 Internal Server Error</title>
</head>
<body>
<h1>500 Internal Server Error</h1>
<p><?php 
        print 'JxWUI: ' . $in_detail;
        ?>
</p>
</body>
</html><?php 
        exit;
    }
Exemple #2
0
    private static function error($in_code, $in_status, $in_details = '')
    {
        JxWuiUtil::http_status($in_code, $in_status);
        ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><?php 
        print $in_code . ' ' . $in_status;
        ?>
</title>
</head>
<body>
<h1><?php 
        print $in_code . ' ' . $in_status;
        ?>
</h1>
</body>
</html><?php 
        exit;
    }