1
0
mirror of https://github.com/ZeroDream-CN/PHPMC7 synced 2024-11-27 23:02:52 +08:00
PHPMC7/include/core/PHPMC/WebError.php
2018-09-10 14:53:00 +08:00

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;
}
}