From e0e9ab6d3a580bfc0aac14c4b70ce7bf42ba1cc6 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sat, 14 Jan 2012 00:59:59 +0100 Subject: [PATCH] Add google download statistics --- build-scripts/update_site.sh | 2 +- config/site/download.php | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build-scripts/update_site.sh b/build-scripts/update_site.sh index bbdc4f77a6..1e192b0126 100755 --- a/build-scripts/update_site.sh +++ b/build-scripts/update_site.sh @@ -12,5 +12,5 @@ done mkdir -p $LOCAL_SITE_DIR/resource; cp $GIT_SITE_DIR/resource/* $LOCAL_SITE_DIR/resource/ -u; mkdir -p $LOCAL_SITE_DIR/GoogleAnalytics; -cp $GIT_SITE_DIR/GoogleAnalytics/* $LOCAL_SITE_DIR/GoogleAnalytics/ -u; +cp $GIT_SITE_DIR/GoogleAnalytics/* $LOCAL_SITE_DIR/GoogleAnalytics/ -ru; diff --git a/config/site/download.php b/config/site/download.php index 7a44b2e11c..2152cbd4d1 100755 --- a/config/site/download.php +++ b/config/site/download.php @@ -1,4 +1,6 @@ setIpAddress($_SERVER['REMOTE_ADDRESS']);