From f196e22426dc8fc2bef9af04fc3723b786317ad0 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 29 Jul 2014 16:42:05 +0200 Subject: [PATCH] Optional link tracking --- root/etc/e-smith/templates/etc/phplist/config.php/40Tracking | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 root/etc/e-smith/templates/etc/phplist/config.php/40Tracking diff --git a/root/etc/e-smith/templates/etc/phplist/config.php/40Tracking b/root/etc/e-smith/templates/etc/phplist/config.php/40Tracking new file mode 100644 index 0000000..8435c9a --- /dev/null +++ b/root/etc/e-smith/templates/etc/phplist/config.php/40Tracking @@ -0,0 +1,10 @@ +{ +if (($phplist{'Tracking'} || 'disabled') eq 'enabled'){ + $OUT .=<<"EOF"; +define('CLICKTRACK',1); +define('CLICKTRACK_SHOWDETAIL',1); +EOF +} +else{ + $OUT .= '# Tracking is disabled'; +}