diff options
author | Régis Leroy <rle@makina-corpus.com> | 2012-05-29 19:14:14 +0400 |
---|---|---|
committer | Régis Leroy <rle@makina-corpus.com> | 2012-05-29 19:14:14 +0400 |
commit | 9bdea41f21e365b44ce23f8795ffb11cee2ff4d4 (patch) | |
tree | 91b9360e17a90d742fb3813c9d870f5166b10059 /index.php | |
parent | 8ab26fc0316c4cf37c00fa910bbf92ce87f8599b (diff) |
Ability to suspend statistics
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -107,7 +107,9 @@ if(($include_app == 'desktop') || ($include_app == 'mobile')) { $include_app = 'upload'; // Save this visit (for the stats) - writeVisit(); + if('off'!==STATISTICS) { + writeVisit(); + } } // Include it! |