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]))