Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions modules/system/system.install
Original file line number Diff line number Diff line change
Expand Up @@ -2745,6 +2745,17 @@ function system_update_6056() {
return $ret;
}

/**
* Overwrite the .htaccess in the files and temp directory for PHP 7.
*/
function system_update_6057() {
include_once './includes/file.inc';
$ret = array();
file_create_htaccess(file_directory_path(), NULL, TRUE);
file_create_htaccess(file_directory_temp(), NULL, TRUE);
return $ret;
}

/**
* @} End of "defgroup updates-6.x-extra".
* The next series of updates should start at 7000.
Expand Down