X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot_db.php;h=e0cf39f31a89df601b5352608849228cfdd7ad90;hp=83376ad53e779d99dd8067db0f7ec53f2bd5152c;hb=b690db6fe75d323ff4f30e2be0a447a75e140cb5;hpb=2765fc086522b5fb9f209bdfe266e577fc65ca84 diff --git a/phpfspot_db.php b/phpfspot_db.php index 83376ad..e0cf39f 100644 --- a/phpfspot_db.php +++ b/phpfspot_db.php @@ -24,6 +24,7 @@ /** * PHPFSPOT_DB class + * * @package phpfspot */ class PHPFSPOT_DB { @@ -42,7 +43,9 @@ class PHPFSPOT_DB { */ public function __construct($parent, $db_path) { - $this->parent = $parent; + global $phpfspot; + + $this->parent = $phpfspot; $this->db_path = $db_path; /* We are starting disconnected */