mirror of
https://github.com/ZeroDream-CN/PHPMC7
synced 2024-11-27 23:02:52 +08:00
8 lines
150 B
PHP
8 lines
150 B
PHP
|
<?php
|
||
|
class WebError {
|
||
|
public static function Println($str) {
|
||
|
Header("Content-type: text/html;charset=UTF-8", true, 500);
|
||
|
echo $str;
|
||
|
exit;
|
||
|
}
|
||
|
}
|