mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
MINOR Clearer message when rewrite doesn't work during installation
MINOR Fixed missing end to anchor tag git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@112972 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b0caa5c680
commit
84cbba8bed
12
install.php
12
install.php
@ -1200,17 +1200,19 @@ TEXT;
|
||||
window.location = "home/successfullyinstalled?flush=1";
|
||||
}, 2000);
|
||||
} else {
|
||||
$('#ModRewriteResult').html("Friendly URLs are not working. This is most likely because a rewrite module isn't configured"
|
||||
+ "correctly on your site. Please check the following things in your Apache configuration; "
|
||||
+ " you may need to get your web host or server administrator to do this for you:"
|
||||
+ "<ul><li>mod_rewrite is enabled</li><li>AllowOverride All is set for your directory</li></ul>");
|
||||
$('#ModRewriteResult').html("Friendly URLs are not working. This is most likely because a rewrite module isn't configured "
|
||||
+ "correctly on your site. You may need to get your web host or server administrator to do this for you: "
|
||||
+ "<ul>"
|
||||
+ "<li><strong>mod_rewrite</strong> or other rewrite module is enabled on your web server</li>"
|
||||
+ "<li><strong>AllowOverride All</strong> is set for the directory where SilverStripe is installed</li>"
|
||||
+ "</ul>");
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<noscript>
|
||||
<li><a href="home/successfullyinstalled?flush=1">Click here to check friendly URLs are working. If you get a 404 then something is wrong.</li>
|
||||
<li><a href="home/successfullyinstalled?flush=1">Click here</a> to check friendly URLs are working. If you get a 404 then something is wrong.</li>
|
||||
</noscript>
|
||||
HTML;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user