安装GLPI10.0版本后,会在首页看到鲜红警示语:
Web server root directory configuration is not safe as it permits access to non-public files. See installation documentation for more details.
glpi10.0鲜红警醒语解决办法.png
解决办法:
这句红色警示语是在glpi\src\System\Requirement\SafeDocumentRoot.php文件末尾第70行处,因此在它的前面添加一个跳出:
return;可直接跳出if而不执行$this->validation_messages[] = __('Web server root directory configuration is not safe as it permits access to non-public files. See installation documentation for more details.');这句提示语,如下图:
glpi10.0鲜红警醒语解决办法02.png
这叫做掩眼盗铃:
glpi10.0鲜红警醒语解决办法03.png

标签: glpi, root, non-public, not safe

添加新评论