1
0
mirror of https://github.com/ZeroDream-CN/PHPMC7 synced 2024-12-01 02:02:52 +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;
}
}