mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Updated
This commit is contained in:
parent
8d54fea7a7
commit
0fabeae264
@ -161,7 +161,7 @@ class sql_db
|
||||
*/
|
||||
function select_db ()
|
||||
{
|
||||
$this->cur_query = 'select db';
|
||||
$this->cur_query = "select db: '{$this->cfg['dbname']}'";
|
||||
$this->debug('start');
|
||||
|
||||
if (!@mysql_select_db($this->cfg['dbname'], $this->link))
|
||||
|
@ -123,7 +123,7 @@ class sql_db
|
||||
*/
|
||||
function select_db ()
|
||||
{
|
||||
$this->cur_query = ($this->dbg_enabled) ? "select db: {$this->cfg['dbname']}" : 'select db';
|
||||
$this->cur_query = ($this->dbg_enabled) ? "select db: '{$this->cfg['dbname']}'" : 'select db';
|
||||
$this->debug('start');
|
||||
|
||||
if (!@mysql_select_db($this->cfg['dbname'], $this->link))
|
||||
|
Loading…
Reference in New Issue
Block a user