mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-30 05:09:06 +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
|
* Check everything except the database
|
||||||
*/
|
*/
|
||||||
public function check()
|
public function check($originalIni)
|
||||||
{
|
{
|
||||||
|
$this->originalIni = $originalIni;
|
||||||
$this->errors = [];
|
$this->errors = [];
|
||||||
$isApache = $this->isApache();
|
$isApache = $this->isApache();
|
||||||
$isIIS = $this->isIIS();
|
$isIIS = $this->isIIS();
|
||||||
|
@ -66,7 +66,7 @@ $theme = $config->getTheme($_REQUEST);
|
|||||||
|
|
||||||
// Check requirements
|
// Check requirements
|
||||||
$req = new InstallRequirements();
|
$req = new InstallRequirements();
|
||||||
$req->check();
|
$req->check($originalIni);
|
||||||
|
|
||||||
if ($req->isIIS()) {
|
if ($req->isIIS()) {
|
||||||
$webserverConfigFile = 'web.config';
|
$webserverConfigFile = 'web.config';
|
||||||
|
Loading…
Reference in New Issue
Block a user