nixpkgs/pkgs/servers/web-apps/piwik/bootstrap.php
2017-06-19 16:00:17 +02:00

7 lines
224 B
PHP

<?php
// get PIWIK_USER_PATH from environment variable,
// so this bootstrap.php can be read-only but still configure PIWIK_USER_PATH at runtime
if ($path = getenv('PIWIK_USER_PATH')) {
define('PIWIK_USER_PATH', $path);
}