Compare commits
2 commits
aae050739d
...
30bbe21d0c
Author | SHA1 | Date | |
---|---|---|---|
30bbe21d0c | |||
74392feae5 |
2 changed files with 13 additions and 7 deletions
|
@ -95,13 +95,6 @@ $quote_author_arr = [
|
|||
Creative Commons Attribution Share Alike license</a>
|
||||
, unless stated otherwise.
|
||||
</p>
|
||||
<p style="position: relative; right: 0;">
|
||||
This page was generated at
|
||||
<?php
|
||||
echo date('Y-m-d\TH:i:s T').
|
||||
" by php/".phpversion()." ".$_SERVER["SERVER_SOFTWARE"];
|
||||
?>
|
||||
</p>
|
||||
<div style="margin-bottom:1em;">
|
||||
<span>
|
||||
<a href="https://my.fsf.org/join?referrer=6692411">
|
||||
|
@ -141,6 +134,16 @@ $quote_author_arr = [
|
|||
</a>
|
||||
</span>
|
||||
</div>
|
||||
<p style="position: relative; right: 0;">
|
||||
This page was generated at
|
||||
<?php
|
||||
echo date('Y-m-d\TH:i:s T').
|
||||
" by php/".phpversion()." ".
|
||||
$_SERVER["SERVER_SOFTWARE"]."<br>".
|
||||
"Generation took ".round((microtime(true) -
|
||||
$generation_start_time)*1000, 4)." milliseconds.";
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
</body>
|
||||
|
|
|
@ -11,6 +11,9 @@ if(isset($_COOKIE["PHPSESSID"]))
|
|||
session_start();
|
||||
}
|
||||
|
||||
// Use this for page generation timing
|
||||
$generation_start_time = microtime(true);
|
||||
|
||||
// PDO Mysql connection object
|
||||
$conn = null;
|
||||
attempt_sql_connect();
|
||||
|
|
Loading…
Reference in a new issue