Browse Source

that would be mysql !i! connect_errno...

pull/1/head
Friendika 11 years ago
parent
commit
69e2252fd6
  1. 2
      include/dba.php

2
include/dba.php

@ -20,7 +20,7 @@ class dba {
function __construct($server,$user,$pass,$db,$install = false) {
$this->db = @new mysqli($server,$user,$pass,$db);
if(! mysql_connect_errno()) {
if(! mysqli_connect_errno()) {
$this->connected = true;
}
else {

Loading…
Cancel
Save