diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-03 17:05:14 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-03 17:05:14 +0400 |
commit | 85fb9a470615151a0b6e3e4dc0311975263e0363 (patch) | |
tree | d681c2d35888e88e6013a655b0bdb14b3a3ee92d /core/Config.php | |
parent | cb6090432ef41321a98afdec28e67ab04a518003 (diff) |
Debugging travis failure.
Diffstat (limited to 'core/Config.php')
-rw-r--r-- | core/Config.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/Config.php b/core/Config.php index 9a71341c0c..2e3245be60 100644 --- a/core/Config.php +++ b/core/Config.php @@ -167,9 +167,16 @@ class Config extends Singleton { $path = self::getByDomainConfigPath(); if ($path) { + $fd = fopen(PIWIK_INCLUDE_PATH . '/tmp/logs/piwik.log', 'a'); + fwrite($fd, "Found config by domain '$path'."); + fclose($fd); return $path; } - return PIWIK_USER_PATH . self::$defaultLocalConfigPath; + $r = PIWIK_USER_PATH . self::$defaultLocalConfigPath; + $fd = fopen(PIWIK_INCLUDE_PATH . '/tmp/logs/piwik.log', 'a'); + fwrite($fd, "Found config file local path: '$r'."); + fclose($fd); + return $r; } private static function getLocalConfigInfoForHostname($hostname) |