2 calls to file_create_htaccess()
- file_ensure_htaccess in includes/
file.inc - Creates a .htaccess file in each Drupal files directory if it is missing.
- system_check_directory in modules/
system/ system.module - Checks the existence of the directory specified in $form_element.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.