summaryrefslogtreecommitdiffstats
path: root/phpfspot_db.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpfspot_db.php')
-rw-r--r--phpfspot_db.php4
1 files changed, 3 insertions, 1 deletions
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 */