Exemplo n.º 1
0
 function loadAdapter()
 {
     parent::loadAdapter();
     if (is_file($this->folder . "Installation.pfdb.php")) {
         $this->Adapter->setDBFolder($this->folder);
     } else {
         $this->Adapter->setDBFolder("." . $this->folder);
     }
 }
Exemplo n.º 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);
 }