We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bcd2d2 commit 0d1d70cCopy full SHA for 0d1d70c
1 file changed
lib/Db.php
@@ -0,0 +1,11 @@
1
+<?php
2
+ namespace Pdsinterop\PhpSolid;
3
+
4
+ class Db {
5
+ public static $pdo;
6
+ public static function connect() {
7
+ if (!isset(self::$pdo)) {
8
+ self::$pdo = new \PDO("sqlite:" . DBPATH);
9
+ }
10
11
0 commit comments