summaryrefslogtreecommitdiff
path: root/includes/session.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-06-14 20:40:41 +0000
committerfisharebest <fisharebest@gmail.com>2010-06-14 20:40:41 +0000
commitbcdd7bd2dc67ddfbe3f865898c2ecfe4b9efdf1e (patch)
treebec24f4c901c8915716a7249093a0ca8161ed112 /includes/session.php
parent48e1a78c5090a0eecd4fa14968e2b33110272b33 (diff)
downloadwebtrees-bcdd7bd2dc67ddfbe3f865898c2ecfe4b9efdf1e.tar.gz
webtrees-bcdd7bd2dc67ddfbe3f865898c2ecfe4b9efdf1e.tar.bz2
webtrees-bcdd7bd2dc67ddfbe3f865898c2ecfe4b9efdf1e.zip
Fix: privacy function checking wrong record
Diffstat (limited to 'includes/session.php')
-rw-r--r--includes/session.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/includes/session.php b/includes/session.php
index a64891b0e9..72b7e75f69 100644
--- a/includes/session.php
+++ b/includes/session.php
@@ -109,8 +109,9 @@ define('WT_PRIV_HIDE', -1); // Hide the item to all users including the admin
// For performance, it is quicker to refer to files using absolute paths
define ('WT_ROOT', realpath(dirname(dirname(__FILE__))).DIRECTORY_SEPARATOR);
-//-- setup execution timer
+// Keep track of time statistics, for the summary in the footer
$start_time=microtime(true);
+$PRIVACY_CHECKS=0;
ini_set('arg_separator.output', '&amp;');
ini_set('error_reporting', E_ALL | E_STRICT);