function piwik_install in Piwik Web Analytics 7
Same name and namespace in other branches
- 5 piwik.install \piwik_install()
- 6.2 piwik.install \piwik_install()
- 6 piwik.install \piwik_install()
- 7.2 piwik.install \piwik_install()
@file Installation file for Piwik - Web analytics module.
File
- ./
piwik.install, line 8 - Installation file for Piwik - Web analytics module.
Code
function piwik_install() {
// Remove tracking from all administrative pages, see http://drupal.org/node/34970.
variable_set('piwik_visibility', 0);
$pages = array(
'admin',
'admin/*',
'user/*/*',
'node/add*',
'node/*/*',
);
variable_set('piwik_pages', implode("\n", $pages));
}