We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7251aa8 commit 745cb4fCopy full SHA for 745cb4f
index.php
@@ -18,7 +18,7 @@
18
*
19
* @var string
20
*/
21
-define('MPG_APP_VERSION', '1.0.6');
+define('MPG_APP_VERSION', '1.0.7');
22
23
/**
24
* Development mode?
src/Helpers/MongoDBHelper.php
@@ -36,6 +36,10 @@ class MongoDBHelper {
36
37
private static function createClient() : Client {
38
39
+ if ( !isset($_SESSION['mpg']['user_is_logged']) ) {
40
+ throw new \Exception('Session expired. Refresh browser.');
41
+ }
42
+
43
$clientUri = 'mongodb://';
44
45
if ( isset($_SESSION['mpg']['mongodb_user'])
0 commit comments