Permalink
Browse files

Fixes #5294 - Mocks session for installation process

  • Loading branch information...
1 parent f7a9ec6 commit caeeb7fbe139a9b9e33aacd6f0444b78129e0bca @Srokap Srokap committed Mar 30, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 install/ElggInstaller.php
@@ -62,6 +62,8 @@ public function __construct() {
$this->bootstrapEngine();
+ _elgg_services()->setValue('session', new ElggSession(new Elgg_Http_MockSessionStorage()));
+
elgg_set_viewtype('installation');
set_error_handler('_elgg_php_error_handler');

0 comments on commit caeeb7f

Please sign in to comment.