Merge f5a987b91fe6045ccfcd73154b62f5b5ce1882e2 into 0f00c2fd2e9006c2a9f670a75d11dc947927f318
This commit is contained in:
commit
ae5555a274
@ -190,8 +190,7 @@ function checkSystem()
|
|||||||
$phpModules = get_loaded_extensions();
|
$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)';
|
$errorText = 'Missing file, upload the file .htaccess (ERR_201)';
|
||||||
error_log($errorText, 0);
|
error_log($errorText, 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user