改进验证异常类的错误信息和模板输出 支持批量验证的错误信息抛出

This commit is contained in:
thinkphp
2016-08-22 18:15:06 +08:00
parent 107f77474e
commit 8b328b77e0
2 changed files with 12 additions and 11 deletions

View File

@@ -292,7 +292,7 @@
<div>
<h2>[<?php echo $code; ?>] <?php echo sprintf('%s in %s', parse_class($name), parse_file($file, $line)); ?></h2>
</div>
<div><h1><?php echo htmlentities($message); ?></h1></div>
<div><h1><?php echo nl2br(htmlentities($message)); ?></h1></div>
</div>
</div>