Permalink
Browse files

fix(installer): installer no longer fails on PHP 7

_elgg_session_boot() uses the persistent login service, which depends on
cookie settings we weren't setting in the installer.

Fixes #9314
  • Loading branch information...
mrclay committed Jan 24, 2016
1 parent d785997 commit 4d796279d6e2be3c2609c408ecd3d875e4062525
Showing with 1 addition and 0 deletions.
  1. +1 −0 engine/classes/ElggInstaller.php
@@ -836,6 +836,7 @@ protected function finishBootstraping($step) {
$this->CONFIG->site_id = $this->CONFIG->site_guid;
$this->CONFIG->site = get_entity($this->CONFIG->site_guid);
$this->CONFIG->dataroot = _elgg_services()->datalist->get('dataroot');
_elgg_configure_cookies($this->CONFIG);
_elgg_session_boot();
}

0 comments on commit 4d79627

Please sign in to comment.