mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
Clean up exception titles
This commit is contained in:
parent
ce0a7edfda
commit
4368af5813
@ -21,7 +21,7 @@
|
||||
<div class="container">
|
||||
<h1><?= htmlspecialchars($title, ENT_SUBSTITUTE, 'UTF-8'), ($exception->getCode() ? ' #'.$exception->getCode() : '') ?></h1>
|
||||
<p>
|
||||
<?= htmlspecialchars($exception->getMessage(), ENT_SUBSTITUTE) ?>
|
||||
<?= $exception->getMessage() ?>
|
||||
<a href="https://www.google.com/search?q=<?= urlencode($title.' '.preg_replace('#\'.*\'|".*"#Us', '', $exception->getMessage())) ?>"
|
||||
rel="noreferrer" target="_blank">search →</a>
|
||||
</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user