X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=phpfspot.git;a=blobdiff_plain;f=phpfspot_db.php;h=e0cf39f31a89df601b5352608849228cfdd7ad90;hp=e5f1f0bd3bc1488c547658a6e62677bcd042c271;hb=ea7c5f379929222119df54f0f0a9af008bce4d30;hpb=e57f68e3a9df5a040bccb483da6cc21d2d028ad8 diff --git a/phpfspot_db.php b/phpfspot_db.php index e5f1f0b..e0cf39f 100644 --- a/phpfspot_db.php +++ b/phpfspot_db.php @@ -22,6 +22,11 @@ * ***************************************************************************/ +/** + * PHPFSPOT_DB class + * + * @package phpfspot + */ class PHPFSPOT_DB { private $db; @@ -38,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 */