From 8cad3720bc8dcb426edcfb27c50024467325cfc3 Mon Sep 17 00:00:00 2001 From: Vyacheslav Agafonov Date: Thu, 1 Dec 2011 17:37:47 +0400 Subject: [PATCH] Modified exception message --- model/Db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/Db.php b/model/Db.php index 62155ed..bbe8643 100644 --- a/model/Db.php +++ b/model/Db.php @@ -37,7 +37,7 @@ class Db if (!isset(self::$connections[$name])) { if (!$config) { if (gettype(Config::get(__CLASS__)) != 'object') { - throw new InitializationException('config no object'); + throw new InitializationException('Trying to get property of non-object'); } $config = Config::get(__CLASS__)->$name; }