From 457f5847cb979dd5b7461caef2fe4eb09ef5a9fc Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Mon, 14 Aug 2006 05:33:21 +0000 Subject: #67244 by Steve Dondley and Morbus Iff, write out a more compatible files/.htaccess. --- includes/file.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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\n RewriteEngine off\n"; + $htaccess_lines = "SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006\nOptions None\nOptions +FollowSymLinks\n\n RewriteEngine off\n"; if (($fp = fopen("$directory/.htaccess", 'w')) && fputs($fp, $htaccess_lines)) { fclose($fp); } -- cgit v1.2.3