diff --git a/install.php b/install.php index ab9b56f8..6b7be3fe 100644 --- a/install.php +++ b/install.php @@ -189,9 +189,8 @@ function checkSystem() if(function_exists('get_loaded_extensions')) { $phpModules = get_loaded_extensions(); } - - if(!file_exists(PATH_ROOT.'.htaccess')) - { + + if ((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);