mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-06 10:02:49 +08:00
兼容php8.1
This commit is contained in:
@@ -234,6 +234,18 @@ if (!function_exists('ua_htmlspecialchars')) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('ua_htmlentities')) {
|
||||
function ua_htmlentities($string)
|
||||
{
|
||||
|
||||
if (is_null($string)) {
|
||||
$string = '';
|
||||
}
|
||||
|
||||
return htmlentities($string);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function build_upload_url($url, $upload_type = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user