Unused indexes removed, queries changed
This commit is contained in:
parent
747dc934f7
commit
4961fb3a45
9 changed files with 69 additions and 56 deletions
|
@ -65,6 +65,7 @@ class dba {
|
|||
$this->db = @new mysqli($server,$user,$pass,$db);
|
||||
if(! mysqli_connect_errno()) {
|
||||
$this->connected = true;
|
||||
//mysqli_set_charset($this->db, 'utf8');
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -72,6 +73,7 @@ class dba {
|
|||
$this->db = mysql_connect($server,$user,$pass);
|
||||
if($this->db && mysql_select_db($db,$this->db)) {
|
||||
$this->connected = true;
|
||||
//mysql_set_charset('utf8', $this->db);
|
||||
}
|
||||
}
|
||||
if(! $this->connected) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue