Skip to content
Snippets Groups Projects
Commit 7f32bf57 authored by hahn's avatar hahn
Browse files

ci server - valuestore: fix dbcreate

parent 96222312
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ class valuestore { ...@@ -124,7 +124,7 @@ class valuestore {
echo $this->_bDebug ? "removing existing file $this->_dbfile ...<br>\n" : ''; echo $this->_bDebug ? "removing existing file $this->_dbfile ...<br>\n" : '';
unlink($this->_dbfile); unlink($this->_dbfile);
} }
// after deleting the db file we nee to re instantiate // after deleting the db file we need to re instantiate
echo $this->_bDebug ? "create database as file $this->_dbfile ...<br>\n" : ''; echo $this->_bDebug ? "create database as file $this->_dbfile ...<br>\n" : '';
$this->_oDB = new PDO("sqlite:" . $this->_dbfile); $this->_oDB = new PDO("sqlite:" . $this->_dbfile);
$this->_makeQuery($this->_sCreate); $this->_makeQuery($this->_sCreate);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment