/**
* PHPFSPOT_DB class
+ *
* @package phpfspot
*/
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 */