mirror of
https://github.com/ZeroDream-CN/PHPMC7
synced 2024-11-24 21:22:55 +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;
|
|
}
|
|
} |