Index: trunk/extensions/Piwik/Piwik.php |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | |
16 | 16 | $wgExtensionCredits['specialpage'][] = array( |
17 | 17 | 'name' => 'Piwik Integration', |
18 | | - 'version' => '0.2.2rev0.5 Beta', |
| 18 | + 'version' => '0.2.3rev0.6 Beta', |
19 | 19 | 'svn-date' => '$LastChangedDate$', |
20 | 20 | 'svn-revision' => '$LastChangedRevision$', |
21 | 21 | 'author' => 'isb1009', |
— | — | @@ -40,7 +40,7 @@ |
41 | 41 | global $wgPiwikIDSite, $wgPiwikURL, $wgPiwikIgnoreSysops, $wgPiwikIgnoreBots, $wgUser, $wgScriptPath, $wgPiwikCustomJS; |
42 | 42 | if (!$wgUser->isAllowed('bot') || !$wgPiwikIgnoreBots) { |
43 | 43 | if (!$wgUser->isAllowed('protect') || !$wgPiwikIgnoreSysops) { |
44 | | - if ( !empty($wgPiwikIDSite) AND !empty($wgPiwikURLpiwikjs) AND !empty($wgPiwikURLpiwikphp)) { |
| 44 | + if ( !empty($wgPiwikIDSite) AND !empty($wgPiwikURL)) { |
45 | 45 | $funcOutput = <<<PIWIK |
46 | 46 | <!-- Piwik --> |
47 | 47 | <a href="http://piwik.org" title="Web analytics" onclick="window.open(this.href);return(false);"> |