Closed #19
This commit is contained in:
parent
21f4669a98
commit
eb858bfbe1
3 changed files with 25 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue