diff --git a/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php b/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php index 40d25d5..8c9a5f2 100644 --- a/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php +++ b/core/modules/system/src/Tests/System/SitesDirectoryHardeningTest.php @@ -12,6 +12,8 @@ /** * Test unicode handling features implemented in unicode.inc. + * + * @group system */ class SitesDirectoryHardeningTest extends WebTestBase { diff --git a/core/modules/system/system.install b/core/modules/system/system.install index 7cde3dd..df8968b 100644 --- a/core/modules/system/system.install +++ b/core/modules/system/system.install @@ -372,7 +372,7 @@ function system_requirements($phase) { $message = t('Protection disabled'); $severity = REQUIREMENT_WARNING; } - elseif (!drupal_verify_install_file($conf_path, FILE_NOT_WRITABLE, 'dir')) { + elseif (!drupal_verify_install_file($site_path, FILE_NOT_WRITABLE, 'dir')) { $message = t('Not protected'); $severity = REQUIREMENT_ERROR; $conf_errors[] = t("The directory %file is not protected from modifications and poses a security risk. You must change the directory's permissions to be non-writable.", array('%file' => $site_path));