function loadAdapter()
 {
     parent::loadAdapter();
     if (is_file($this->folder . "Installation.pfdb.php")) {
         $this->Adapter->setDBFolder($this->folder);
     } else {
         $this->Adapter->setDBFolder("." . $this->folder);
     }
 }
Exemple #2
0
 function loadAdapter()
 {
     parent::loadAdapter();
     $this->Adapter->setDBFile($this->myDBFile);
     if (is_file($this->myDBFolder . "/CI.pfdb.php")) {
         $this->Adapter->setDBFolder($this->myDBFolder);
     } else {
         $this->Adapter->setDBFolder("." . $this->myDBFolder);
     }
     #$this->Adapter->setDBFile($this->myDBFile);
 }