You are here

public function SiteAuditCheckBestPracticesSites::getAction in Site Audit 8.2

Implements \SiteAudit\Check\Abstract\getAction().

Overrides SiteAuditCheckAbstract::getAction

File

Check/BestPractices/Sites.php, line 58
Contains \SiteAudit\Check\BestPractices\Sites.

Class

SiteAuditCheckBestPracticesSites
Class SiteAuditCheckBestPracticesSites.

Code

public function getAction() {
  if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_WARN) {
    return dt('Don\'t rely on symbolic links for core configuration files; copy sites.php where it should be and remove the symbolic link.');
  }
}