mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Support for cleared boot.php
This commit is contained in:
parent
95622a0f0d
commit
6a349e7fd9
15 changed files with 38 additions and 25 deletions
|
@ -31,7 +31,7 @@ function rendertime_page_end(Friendica\App $a, &$o)
|
|||
$ignored_modules = ["fbrowser"];
|
||||
$ignored = in_array(DI::module()->getName(), $ignored_modules);
|
||||
|
||||
if (is_site_admin() && (($_GET['mode'] ?? '') != 'minimal') && !DI::mode()->isMobile() && !DI::mode()->isMobile() && !$ignored) {
|
||||
if ($a->isSiteAdmin() && (($_GET['mode'] ?? '') != 'minimal') && !DI::mode()->isMobile() && !DI::mode()->isMobile() && !$ignored) {
|
||||
|
||||
$o = $o . '<div class="renderinfo">' . DI::l10n()->t("Database: %s/%s, Network: %s, Rendering: %s, Session: %s, I/O: %s, Other: %s, Total: %s",
|
||||
round($profiler->get('database') - $profiler->get('database_write'), 3),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue