Skip to content

Commit c8e0d7d

Browse files
committed
Update class.MySQL.php
use php5 constructor
1 parent 6e8b8ae commit c8e0d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

class.MySQL.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class MySQL {
4444
* Class Constructor *
4545
* *******************/
4646

47-
function MySQL($database, $username, $password, $hostname='localhost'){
47+
function __construct($database, $username, $password, $hostname='localhost'){
4848
$this->database = $database;
4949
$this->username = $username;
5050
$this->password = $password;

0 commit comments

Comments
 (0)