Skip to content
Permalink
Browse files

BlueScreen: removed source from footer

  • Loading branch information...
dg committed Mar 9, 2019
1 parent f2154fc commit 755bee0d5f3d369919fac5bcd0ac88e8509cd0af
@@ -116,7 +116,6 @@ private function renderTemplate(\Throwable $exception, string $template, $toScre
);
$info = array_filter($this->info);
$source = Helpers::getSource();
$sourceIsUrl = preg_match('#^https?://#', $source);
$title = $exception instanceof \ErrorException
? Helpers::errorTypeToString($exception->getSeverity())
: Helpers::getClass($exception);
@@ -12,7 +12,6 @@
* @param array $info
* @param string $title
* @param string $source
* @param bool $sourceIsUrl
* @param array $lastError
* @param array $httpHeaders
* @param callable $dump
@@ -361,7 +360,6 @@ $code = $exception->getCode() ? ' #' . $exception->getCode() : '';
<ul>
<li><b><a href="https://nette.org/make-donation?to=tracy" target="_blank" rel="noreferrer noopener">Please support Tracy via a donation 💙️</a></b></li>
<li>Report generated at <?= @date('Y/m/d H:i:s') // @ timezone may not be set ?></li>
<li><?php if ($sourceIsUrl): ?><a href="<?= Helpers::escapeHtml($source) ?>"><?php endif ?><?= Helpers::escapeHtml($source) ?><?php if ($sourceIsUrl): ?></a><?php endif ?></li>
<?php foreach ($info as $item): ?><li><?= Helpers::escapeHtml($item) ?></li><?php endforeach ?>
</ul>
<div class="footer-logo"><a href="https://tracy.nette.org" rel="noreferrer"></a></div>
@@ -215,7 +215,6 @@
<ul>
<li><b><a href="https://nette.org/make-donation?to=tracy" target="_blank" rel="noreferrer noopener">%a%️</a></b></li>
<li>Report generated at %a%</li>
<li>CLI%a?%</li>
<li>PHP %a%</li> </ul>
<div class="footer-logo"><a href="https://tracy.nette.org" rel="noreferrer"></a></div>
</footer>
@@ -186,7 +186,6 @@
<ul>
<li><b><a href="https://nette.org/make-donation?to=tracy" target="_blank" rel="noreferrer noopener">%a%️</a></b></li>
<li>Report generated at %a%</li>
<li>CLI%a?%</li>
<li>PHP %a%</li> </ul>
<div class="footer-logo"><a href="https://tracy.nette.org" rel="noreferrer"></a></div>
</footer>
@@ -182,7 +182,6 @@
<ul>
<li><b><a href="https://nette.org/make-donation?to=tracy" target="_blank" rel="noreferrer noopener">%a%️</a></b></li>
<li>Report generated at %a%</li>
<li>CLI%a?%</li>
<li>PHP %a%</li> </ul>
<div class="footer-logo"><a href="https://tracy.nette.org" rel="noreferrer"></a></div>
</footer>
@@ -189,7 +189,6 @@
<ul>
<li><b><a href="https://nette.org/make-donation?to=tracy" target="_blank" rel="noreferrer noopener">%a%️</a></b></li>
<li>Report generated at %a%</li>
<li>CLI%a?%</li>
<li>PHP %a%</li> </ul>
<div class="footer-logo"><a href="https://tracy.nette.org" rel="noreferrer"></a></div>
</footer>

0 comments on commit 755bee0

Please sign in to comment.
You can’t perform that action at this time.