Skip to content

Commit

Permalink
Check if .htaccess is read
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Feb 18, 2016
1 parent a78947a commit 3eaf317
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions install/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SetEnv HTACCESS on
3 changes: 3 additions & 0 deletions install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
if(!in_array('mod_rewrite',apache_get_modules())) {
$error[] = "mod_rewrite is not available.";
}
if (!isset($_SERVER['HTACCESS'])) {
$error[] = "htaccess is not interpreted. Check your Apache configuration";
}
}

if (count($error) > 0) {
Expand Down

0 comments on commit 3eaf317

Please sign in to comment.