Merge f5a987b91fe6045ccfcd73154b62f5b5ce1882e2 into 0f00c2fd2e9006c2a9f670a75d11dc947927f318

This commit is contained in:
Alexandre Teles 2016-08-24 21:15:39 +00:00 committed by GitHub
commit ae5555a274

View File

@ -190,8 +190,7 @@ function checkSystem()
$phpModules = get_loaded_extensions();
}
if(!file_exists(PATH_ROOT.'.htaccess'))
{
if (array_key_exists('SERVER_SOFTWARE', $_SERVER) && ((stripos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false || stripos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false) && !file_exists(PATH_ROOT.'.htaccess'))) {
$errorText = 'Missing file, upload the file .htaccess (ERR_201)';
error_log($errorText, 0);