mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00: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
|
||||
*/
|
||||
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…
x
Reference in New Issue
Block a user