diff --git a/docker-compose.yml b/docker-compose.yml index 3b0f16d..72e92d3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -145,6 +145,7 @@ services: - DBLOGIN=admin - DBPASSWORD=admin # - TITLE=BF2S Clone + # - FOOTER_PAGELOADSPEED_ENABLE=false - RANKING_REFRESH_TIME=0 # - RANKING_HIDE_BOTS=false # - RANKING_HIDE_COUNTRY=false diff --git a/src/bf2sclone/config.inc.php b/src/bf2sclone/config.inc.php index 158abb2..1d46354 100644 --- a/src/bf2sclone/config.inc.php +++ b/src/bf2sclone/config.inc.php @@ -24,6 +24,9 @@ function defineVar($name, $default) { // Leader board title defineVar('TITLE', 'BF2S Clone'); +// Whether to show page load speed in the footer +defineVar('FOOTER_PAGELOADSPEED_ENABLE', false); + // Refresh time in seconds for stats defineVar('RANKING_REFRESH_TIME', 600); // -> default: 600 seconds (10 minutes) diff --git a/src/bf2sclone/template/current-ranking.php b/src/bf2sclone/template/current-ranking.php index fff6872..e19bbe9 100644 --- a/src/bf2sclone/template/current-ranking.php +++ b/src/bf2sclone/template/current-ranking.php @@ -82,8 +82,9 @@ -
+ + ' : '') . '