Browse Source

Update Store.php

walkor 11 năm trước cách đây
mục cha
commit
2c7474b12e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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]))