1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
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);
}