BriskDB and DBConn classes now have a static constructor method that can be failed
[brisk.git] / web / Obj / dbase_file.phh
index 6801031..9e8331a 100644 (file)
@@ -38,6 +38,13 @@ class BriskDB {
         log_main("BriskDB create:end");
     }
 
+    static function &create()
+    {
+        $ret = new BriskDB();
+        
+        return ($ret);
+    }
+
     function users_load() 
     {
         GLOBAL $DOCUMENT_ROOT;