Skip to content
Snippets Groups Projects
Commit c6296d21 authored by Miniontoby's avatar Miniontoby :writing_hand_tone1:
Browse files

forgotten to update class in the last commit

parent 4005eebf
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,8 @@ class MySchoolDay {
public $config = [];
public $db = null;
private function __construct() {
$this->config = include '../config/config.php';
public function __construct() {
$this->config = include __DIR__ . '/../config/config.php';
$this->db = new db($this->config['dbhost'], $this->config['dbuser'], $this->config['dbpass'], $this->config['dbname']);
}
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment