mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-26 14:39:25 +02:00
Reintroduce checking against original php.ini values.
Seems to have been accidentally removed in 806ffb934e
Fixes https://github.com/silverstripe/silverstripe-installer/issues/211
This commit is contained in:
parent
07a0f75426
commit
0b879d690a
|
@ -227,8 +227,9 @@ class InstallRequirements
|
|||
/**
|
||||
* Check everything except the database
|
||||
*/
|
||||
public function check()
|
||||
public function check($originalIni)
|
||||
{
|
||||
$this->originalIni = $originalIni;
|
||||
$this->errors = [];
|
||||
$isApache = $this->isApache();
|
||||
$isIIS = $this->isIIS();
|
||||
|
|
|
@ -66,7 +66,7 @@ $theme = $config->getTheme($_REQUEST);
|
|||
|
||||
// Check requirements
|
||||
$req = new InstallRequirements();
|
||||
$req->check();
|
||||
$req->check($originalIni);
|
||||
|
||||
if ($req->isIIS()) {
|
||||
$webserverConfigFile = 'web.config';
|
||||
|
|
Loading…
Reference in New Issue
Block a user