mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
* new configurable: footer_show_load_time
This commit is contained in:
@@ -514,8 +514,9 @@ function template_footer()
|
||||
if($config['views_counter'])
|
||||
$ret .= '<br/>Page has been viewed ' . $views_counter . ' times.';
|
||||
|
||||
if(admin())
|
||||
if(config('footer_show_load_time')) {
|
||||
$ret .= '<br/>Load time: ' . round(microtime(true) - START_TIME, 4) . ' seconds.';
|
||||
}
|
||||
|
||||
if(isset($config['footer'][0]))
|
||||
$ret .= '<br/>' . $config['footer'];
|
||||
|
Reference in New Issue
Block a user