public function installSQLTables($param)
 {
     $p = AJXP_Utils::cleanDibiDriverParameters(isset($param) && isset($param["SQL_DRIVER"]) ? $param["SQL_DRIVER"] : $this->sqlDriver);
     return AJXP_Utils::runCreateTablesQuery($p, $this->getBaseDir() . "/create.sql");
 }
 public function installSQLTables()
 {
     $param = ConfService::getConfStorageImpl();
     $p = $param->sqlDriver;
     return AJXP_Utils::runCreateTablesQuery($p, $this->getBaseDir() . '/createPGTStorage.mysql');
 }
 public function installSQLTables($param)
 {
     $p = AJXP_Utils::cleanDibiDriverParameters($param["SQL_DRIVER"]);
     $res = AJXP_Utils::runCreateTablesQuery($p, $this->getBaseDir() . "/create.sql");
     // SET DB VERSION
     if (defined('AJXP_VERSION_DB') && AJXP_VERSION_DB != "##DB_VERSION##") {
         dibi::connect($p);
         dibi::query("UPDATE [ajxp_version] SET [db_build]=%i", intval(AJXP_VERSION_DB));
         dibi::disconnect();
     }
     return $res;
 }
 /**
  * Install SQL table using a dibi driver data
  * @param $param array("SQL_DRIVER" => $dibiDriverData)
  * @return mixed
  */
 public function installSQLTables($param)
 {
     $base = basename($this->getBaseDir());
     if ($base == "core.mailer") {
         $p = AJXP_Utils::cleanDibiDriverParameters($param["SQL_DRIVER"]);
         return AJXP_Utils::runCreateTablesQuery($p, $this->getBaseDir() . "/create.sql");
     }
     return true;
 }