1
0
mirror of https://github.com/ZeroDream-CN/PHPMC7 synced 2024-11-24 13:15:10 +08:00
PHPMC7/include/core/PHPMC/WebError.php

8 lines
150 B
PHP
Raw Normal View History

2018-09-10 14:53:00 +08:00
<?php
class WebError {
public static function Println($str) {
Header("Content-type: text/html;charset=UTF-8", true, 500);
echo $str;
exit;
}
}