mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 07:47:00 +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:
@@ -168,7 +168,8 @@ class SystemUpdaterChecks extends Wire {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
} else {
|
} 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user