pixmicat

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/PIO/ @ 879  →  /PIO/ @ 880
/PIO/lib/pio/pio.sqlite.php
@@ -45,7 +45,7 @@
 
/* PIO模組版本 */
function pioVersion(){
return '0.6 (v20121213)';
return '0.6 (v20130221)';
}
 
/* 處理連線字串/連接 */
@@ -98,7 +98,7 @@
}
 
/* 準備/讀入 */
function dbPrepare($reload=false, $transaction=true){
function dbPrepare($reload=false, $transaction=false){
if($this->prepared) return true;
 
if(@!$this->con=sqlite_popen($this->dbname, 0666)) $this->_error_handler(array('Open database failed', __LINE__));
/PIO/lib/pio/pio.pgsql.php
@@ -46,7 +46,7 @@
 
/* PIO模組版本 */
function pioVersion(){
return '0.6 (v20121213)';
return '0.6 (v20130221)';
}
 
/* 處理連線字串/連接 */
@@ -100,7 +100,7 @@
}
 
/* 準備/讀入 */
function dbPrepare($reload=false, $transaction=true){
function dbPrepare($reload=false, $transaction=false){
if($this->prepared) return true;
 
$this->con = pg_pconnect("host='".$this->server."' port=".$this->port." dbname='".$this->dbname."' user='".$this->username."' password='".$this->password."'");