feat(backend): 初始化中储粮后端后台代码与数据库脚本

这个提交包含在:
wikiboss
2026-10-15 10:27:34 +08:00
当前提交 2fd14ac036
共有 5554 个文件被更改,包括 1122036 次插入 和 0 次删除

查看文件

@@ -0,0 +1,16 @@
<?php
class HTMLPurifier_AttrDef_HTML_ContentEditable extends HTMLPurifier_AttrDef
{
public function validate($string, $config, $context)
{
$allowed = array('false');
if ($config->get('HTML.Trusted')) {
$allowed = array('', 'true', 'false');
}
$enum = new HTMLPurifier_AttrDef_Enum($allowed);
return $enum->validate($string, $config, $context);
}
}