This commit is contained in:
Marcin Kurczewski 2013-10-12 22:54:25 +02:00
parent 21f4669a98
commit eb858bfbe1
3 changed files with 25 additions and 0 deletions

View file

@ -149,3 +149,12 @@ a:hover i[class*='icon-'] {
border-color: #ffa;
background-color: #ffd;
}
footer {
text-align: center;
margin-top: 1em;
padding-top: 0.5em;
border-top: 1px solid #eee;
font-size: small;
color: silver;
}

View file

@ -75,7 +75,14 @@
<section id="content">
<div class="main-wrapper">
<?php echo $this->renderView() ?>
<div class="clear"></div>
</div>
</section>
<footer>
<div class="main-wrapper">
Load: <?php echo sprintf('%.05f', microtime(true) - trueStartTime()) ?>s
</div>
</footer>
</body>
</html>

View file

@ -1,4 +1,13 @@
<?php
function trueStartTime()
{
static $time = null;
if ($time === null)
$time = microtime(true);
return $time;
}
trueStartTime();
require_once 'lib/redbean/RedBean/redbean.inc.php';
require_once 'lib/chibi-core/Facade.php';