summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/system/system.install
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/system/system.install')
-rw-r--r--core/modules/system/system.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system/system.install b/core/modules/system/system.install
index 3c5e9d02e224..af38deefc325 100644
--- a/core/modules/system/system.install
+++ b/core/modules/system/system.install
@@ -44,7 +44,7 @@ function system_requirements($phase) {
}
// Web server information.
- $software = $_SERVER['SERVER_SOFTWARE'];
+ $software = \Drupal::request()->server->get('SERVER_SOFTWARE');
$requirements['webserver'] = array(
'title' => t('Web server'),
'value' => $software,