From 4eb0d832fc360419a4b4fc31942b3538076d09db Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Sun, 4 Mar 2018 21:51:12 +0100 Subject: [PATCH] Generate .htaccess and added rewritebase --- install.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.php b/install.php index eb31cade..a18fa389 100644 --- a/install.php +++ b/install.php @@ -214,7 +214,7 @@ RewriteRule ^(.*) index.php [PT,L] if (!empty($_SERVER['SERVER_SOFTWARE'])) { $webserver = Text::lowercase($_SERVER['SERVER_SOFTWARE']); if (Text::stringContains($webserver, 'apache') || Text::stringContains($webserver, 'litespeed')) { - $errorText = 'Missing file, upload the file .htaccess (ERROR_204)'; + $errorText = 'Missing file, upload the file .htaccess'; error_log($errorText, 0); $tmp['title'] = 'File .htaccess'; @@ -224,7 +224,6 @@ RewriteRule ^(.*) index.php [PT,L] } } - // Check mod_rewrite module if (function_exists('apache_get_modules') ) { if (!in_array('mod_rewrite', apache_get_modules())) { @@ -242,7 +241,7 @@ RewriteRule ^(.*) index.php [PT,L] // Check if the directory content is writeable. if (!is_writable(PATH_CONTENT)) { - $errorText = 'Writing test failure, check directory content permissions. (ERROR_205)'; + $errorText = 'Writing test failure, check directory "bl-content" permissions.'; error_log($errorText, 0); $tmp['title'] = 'PHP permissions';