diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-14 05:33:21 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-08-14 05:33:21 +0000 |
commit | 457f5847cb979dd5b7461caef2fe4eb09ef5a9fc (patch) | |
tree | 237906588442413cbf831765009f86647ad0381b | |
parent | be8d155b20cc829b48db6beb49316f065cce88c2 (diff) | |
download | brdo-457f5847cb979dd5b7461caef2fe4eb09ef5a9fc.tar.gz brdo-457f5847cb979dd5b7461caef2fe4eb09ef5a9fc.tar.bz2 |
#67244 by Steve Dondley and Morbus Iff, write out a more compatible files/.htaccess.
-rw-r--r-- | includes/file.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc index 0d8f53ea2..fd1e09c78 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -113,7 +113,7 @@ function file_check_directory(&$directory, $mode = 0, $form_item = NULL) { } if ((file_directory_path() == $directory || file_directory_temp() == $directory) && !is_file("$directory/.htaccess")) { - $htaccess_lines = "SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006\nOptions None\n<IfModule mod_rewrite.c>\n RewriteEngine off\n</IfModule>"; + $htaccess_lines = "SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006\nOptions None\nOptions +FollowSymLinks\n<IfModule mod_rewrite.c>\n RewriteEngine off\n</IfModule>"; if (($fp = fopen("$directory/.htaccess", 'w')) && fputs($fp, $htaccess_lines)) { fclose($fp); } |