Merge pull request #12 from afics/fix-php7-error

Make constructor of db helper class public.
This commit is contained in:
Bartek Fabiszewski 2017-04-19 22:17:32 +02:00 committed by GitHub
commit 34095f8edc

View File

@ -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')) {