sforkowany z mirror/friendica
that would be mysql !i! connect_errno...
rodzic
b8757fb456
commit
69e2252fd6
|
@ -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 {
|
||||
|
|
Ładowanie…
Reference in New Issue