public function __construct() { if (!is_file(CONFIG_FILE)) { throw new \Exception("Config file not found: '" . CONFIG_FILE . "'"); } if (self::$config === false) { self::$config = (require CONFIG_FILE); } }