diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2011-02-14 07:39:44 +0300 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2011-02-14 07:39:44 +0300 |
commit | 6470960a10abb7a7e660a24e20eb55873c90c5b2 (patch) | |
tree | 87d76e3bb34f15723c4c752202f5fef66ca288fe /core/Site.php | |
parent | 2faa96435430b7b718832415920b9afda04aad69 (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.php | 4 |
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]; } |