aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/sessions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index ddfdd9ab0..9d61d0241 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -111,6 +111,9 @@
* @param unknown_type $object
*/
function session_init($event, $object_type, $object) {
+
+ if (!is_db_installed()) return false;
+
session_name('Elgg');
session_start();