Skip to content

Commit 4ae2fdd

Browse files
committed
Add page load time to admin panel
1 parent 2bf5f5a commit 4ae2fdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

admin/template/template.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@
172172
<div class="float-sm-right d-none d-sm-inline">
173173
<span class="p-2 right badge badge-<?php echo((isset($status['online']) and $status['online']) ? 'success' : 'danger'); ?>"><?php echo $config['lua']['serverName'] ?></span>
174174
</div>
175-
<?php echo base64_decode('UG93ZXJlZCBieSA8YSBocmVmPSJodHRwOi8vbXktYWFjLm9yZyIgdGFyZ2V0PSJfYmxhbmsiPk15QUFDLjwvYT4='); ?>
175+
<?= base64_decode('UG93ZXJlZCBieSA8YSBocmVmPSJodHRwOi8vbXktYWFjLm9yZyIgdGFyZ2V0PSJfYmxhbmsiPk15QUFDLjwvYT4='); ?>
176+
<?= 'Load time: ' . round(microtime(true) - START_TIME, 4) . ' seconds.'; ?>
176177
</footer>
177178
<div id="sidebar-overlay"></div>
178179
</div>

0 commit comments

Comments
 (0)