Merge pull request #12 from afics/fix-php7-error
Make constructor of db helper class public.
This commit is contained in:
commit
34095f8edc
@ -45,7 +45,7 @@
|
||||
* @param string $pass
|
||||
* @param string $name
|
||||
*/
|
||||
private function __construct($host, $user, $pass, $name) {
|
||||
public function __construct($host, $user, $pass, $name) {
|
||||
parent::__construct($host, $user, $pass, $name);
|
||||
if ($this->connect_error) {
|
||||
if (defined('headless')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user