1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-07 07:16:51 +02:00

Suppress missing root .htaccess file error in SystemUpdateChecks since the checks wouldn't even be able to run if an .htaccess or suitable replacement file wasn't already present. Fixes processwire/processwire-issues#1059

This commit is contained in:
Ryan Cramer
2020-01-02 06:02:49 -05:00
parent 6b177d0d0d
commit 49df4445e2

View File

@@ -168,7 +168,8 @@ class SystemUpdaterChecks extends Wire {
return false;
}
} else {
if($this->showNotices) $this->warning($this->fileNotFoundLabel($htaccessFile));
// if .htaccess not present then this is likely an IIS or other not-offically supported server software
// if($this->showNotices) $this->warning($this->fileNotFoundLabel($htaccessFile));
return false;
}