浏览代码

Update Store.php

walkor 11 年之前
父节点
当前提交
2c7474b12e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      applications/Demo/Lib/Store.php

+ 2 - 1
applications/Demo/Lib/Store.php

@@ -25,7 +25,8 @@ class Store
         {
             if(!isset(\Config\Store::$$config_name))
             {
-                throw new \Exception('\Config\Store::$config_name not set');
+                echo "\\Config\\Store::$config_name not set\n";
+                throw new \Exception("\\Config\\Store::$config_name not set\n");
             }
             
             if(!isset(self::$instance[$config_name]))