X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot_db.php;h=90fdb8cc17392088a0d83763b7508b940dc764ce;hp=83376ad53e779d99dd8067db0f7ec53f2bd5152c;hb=14eb0419012155b6d36f25dd9bd1d2ba683dbed7;hpb=2765fc086522b5fb9f209bdfe266e577fc65ca84 diff --git a/phpfspot_db.php b/phpfspot_db.php index 83376ad..90fdb8c 100644 --- a/phpfspot_db.php +++ b/phpfspot_db.php @@ -42,7 +42,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 */