public function SiteAuditCheckBestPracticesMultisite::getResultWarn in Site Audit 8.2
Same name and namespace in other branches
- 7 Check/BestPractices/Multisite.php \SiteAuditCheckBestPracticesMultisite::getResultWarn()
Implements \SiteAudit\Check\Abstract\getResultWarn().
Overrides SiteAuditCheckAbstract::getResultWarn
File
- Check/
BestPractices/ Multisite.php, line 52 - Contains \SiteAudit\Check\BestPractices\Multisite.
Class
- SiteAuditCheckBestPracticesMultisite
- Class SiteAuditCheckBestPracticesMultisite.
Code
public function getResultWarn() {
if ($this->registry['multisite_enabled']) {
return dt('sites/sites.php is present but no multisite directories are present.');
}
else {
return dt('Multisite directories are present but sites/sites.php is not present.');
}
}