Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattpiwik <matthieu.aubry@gmail.com>2011-02-14 07:39:44 +0300
committermattpiwik <matthieu.aubry@gmail.com>2011-02-14 07:39:44 +0300
commit6470960a10abb7a7e660a24e20eb55873c90c5b2 (patch)
tree87d76e3bb34f15723c4c752202f5fef66ca288fe /core/Site.php
parent2faa96435430b7b718832415920b9afda04aad69 (diff)
Fixing tests
git-svn-id: http://dev.piwik.org/svn/trunk@3895 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'core/Site.php')
-rw-r--r--core/Site.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/Site.php b/core/Site.php
index 178bec67d8..a800dd9904 100644
--- a/core/Site.php
+++ b/core/Site.php
@@ -59,7 +59,9 @@ class Piwik_Site
{
if(!isset(self::$infoSites[$this->id][$name]))
{
- throw new Exception('Requested field '.$name .' was not loaded in website. ');
+ var_dump(self::$infoSites);
+ debug_print_backtrace();
+ throw new Exception('Requested field '.$name .' was not loaded in website '.(int)$this->id.'. ');
}
return self::$infoSites[$this->id][$name];
}