Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jappix/jappix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRégis Leroy <rle@makina-corpus.com>2012-05-29 19:14:14 +0400
committerRégis Leroy <rle@makina-corpus.com>2012-05-29 19:14:14 +0400
commit9bdea41f21e365b44ce23f8795ffb11cee2ff4d4 (patch)
tree91b9360e17a90d742fb3813c9d870f5166b10059 /index.php
parent8ab26fc0316c4cf37c00fa910bbf92ce87f8599b (diff)
Ability to suspend statistics
Diffstat (limited to 'index.php')
-rw-r--r--index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/index.php b/index.php
index 09a7ba8a..4a2ad062 100644
--- a/index.php
+++ b/index.php
@@ -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!