mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #7641 from Sil3ntStorm/patch/display_errors
Reintroduce checking against original php.ini values.
This commit is contained in:
commit
62eb531164
@ -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