From d8c07e28a0e5e880c03374439d26133cef3691eb Mon Sep 17 00:00:00 2001 From: Goeran Heinemann Date: Tue, 23 Jun 2020 15:58:29 +0200 Subject: [PATCH] config error --- answers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/answers.php b/answers.php index 3d21608..104cd6b 100644 --- a/answers.php +++ b/answers.php @@ -33,7 +33,7 @@ $connectionOptions = array( ConnectionOptions::OPTION_CREATE => true, // optionally create new collections when inserting documents ConnectionOptions::OPTION_UPDATE_POLICY => UpdatePolicy::LAST, - ConnectionOptions::OPTION_DATABASE => 'database', + ConnectionOptions::OPTION_DATABASE => $database, ); // open connection