* Remove redeclare function.
This commit is contained in:
@@ -3064,25 +3064,6 @@ class baseRouter
|
||||
return new sqlite($params);
|
||||
}
|
||||
|
||||
/**
|
||||
* 连接SQLite数据库。
|
||||
* Connect SQLite database.
|
||||
*
|
||||
* @param object $params
|
||||
* @access public
|
||||
* @return object
|
||||
*/
|
||||
public function connectSqlite($params = null)
|
||||
{
|
||||
if(empty($params))
|
||||
{
|
||||
$params = new stdclass();
|
||||
$params->file = $this->getTmpRoot() . 'sqlite.db';
|
||||
}
|
||||
|
||||
return new sqlite($params);
|
||||
}
|
||||
|
||||
/**
|
||||
* Query from database, use master or slave db.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user