Please replace this with
    require_once(__DIR__ . '../../config.php');