diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-05-08 06:25:59 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-05-08 06:25:59 +0400 |
commit | b71c38a5995aa407084ca0e78deb87d243847976 (patch) | |
tree | 6f6609f8cb52f71035af08be0d5bb9ca3afed19e /core/Config.php | |
parent | 89cd955006d4ff758b133c1f22344794622ff7f6 (diff) |
When Piwik is not installed yet, and we're installing it via console, make sure tmp/ folders are using hostname
Diffstat (limited to 'core/Config.php')
-rw-r--r-- | core/Config.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Config.php b/core/Config.php index 60bf3fbb0d..d08e89ce4c 100644 --- a/core/Config.php +++ b/core/Config.php @@ -234,9 +234,10 @@ class Config extends Singleton return false; } - protected static function getHostname() + public static function getHostname() { - $host = Url::getHost($checkIfTrusted = false); // Check trusted requires config file which is not ready yet + // Check trusted requires config file which is not ready yet + $host = Url::getHost($checkIfTrusted = false); return $host; } |