From 84473a0cad6daf3d21231704e27ac86e22040404 Mon Sep 17 00:00:00 2001 From: Ruan Date: Fri, 3 Jul 2015 21:37:48 +0200 Subject: [PATCH] Remove player count feature for performance --- includes/footer.php | 12 ------------ includes/page.php | 2 ++ includes/settings.php | 1 - 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/includes/footer.php b/includes/footer.php index 4f4a637..91079b1 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -1,6 +1,3 @@ - diff --git a/includes/page.php b/includes/page.php index 49a8c21..607a309 100644 --- a/includes/page.php +++ b/includes/page.php @@ -13,11 +13,13 @@ function get_query($table) { function run_query($table) { global $conn; + $time = microtime(true); try { $result = $conn->query(get_query($table)); } catch (PDOException $ex) { die($ex->getMessage()); } + echo(''); return $result; } diff --git a/includes/settings.php b/includes/settings.php index 8ade827..1a0b5fa 100644 --- a/includes/settings.php +++ b/includes/settings.php @@ -1,7 +1,6 @@