diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-06 10:18:39 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-07-06 10:18:39 +0400 |
commit | a6339fe31096691beacbcfadca90d7dd7bb24a26 (patch) | |
tree | 2a27d228b4131d30465324945afd23ed901cff24 /plugins/CoreHome/templates/piwik_tag.tpl | |
parent | a1c38bdf28b486960907df6e611a9703cab4aca9 (diff) |
fixes #845 - php 5.3 backward incompatibilities and deprecated functionality;
quick fixes #851 - unit tests; also fix redirect error in Installation when deleting existing tables
Diffstat (limited to 'plugins/CoreHome/templates/piwik_tag.tpl')
-rw-r--r-- | plugins/CoreHome/templates/piwik_tag.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/templates/piwik_tag.tpl b/plugins/CoreHome/templates/piwik_tag.tpl index 41d9bd7b3b..20dfa71fc3 100644 --- a/plugins/CoreHome/templates/piwik_tag.tpl +++ b/plugins/CoreHome/templates/piwik_tag.tpl @@ -1,4 +1,4 @@ -{if ereg('http://127.0.0.1|http://localhost|http://piwik.org', $url)} +{if preg_match('/http\:\/\/127\.0\.0\.1|http\:\/\/localhost|http\:\/\/piwik\.org/', $url)} <div style="clear:both"></div> {literal} <!-- Piwik --> |