Missed a set of round brackets on this->exists.
This commit is contained in:
@@ -50,7 +50,7 @@ class config {
|
||||
*/
|
||||
public function get() {
|
||||
$this->find();
|
||||
if ($this->exists) {
|
||||
if ($this->exists()) {
|
||||
require $this->config_path;
|
||||
$this->db_type = $db_type;
|
||||
$this->db_name = $db_name;
|
||||
|
||||
Reference in New Issue
Block a user