Update common.php
parent
7d62c2df78
commit
3c2ba3f279
|
@ -305,7 +305,16 @@ function get_timezone($timezone = '8')
|
||||||
|
|
||||||
function message($message, $title = 'Message', $statusCode = 200)
|
function message($message, $title = 'Message', $statusCode = 200)
|
||||||
{
|
{
|
||||||
return output('<html><meta charset=utf-8><body><h1>' . $title . '</h1><p>' . $message . '</p></body></html>', $statusCode);
|
return output('
|
||||||
|
<html>
|
||||||
|
<meta charset=utf-8>
|
||||||
|
<body>
|
||||||
|
<h1>' . $title . '</h1>
|
||||||
|
<p>
|
||||||
|
' . $message . '
|
||||||
|
</p>
|
||||||
|
</body>
|
||||||
|
</html>', $statusCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
function needUpdate()
|
function needUpdate()
|
||||||
|
|
Loading…
Reference in New Issue