1 drupal.inc | file_create_htaccess($directory, $private = TRUE, $force_overwrite = FALSE) |
Creates a .htaccess file in the given directory.
Deprecated
since 1.0.0
See also
Related topics
File
- core/
includes/ drupal.inc, line 1716 - Contains constants and function wrappers for Drupal 7.x compatibility.
Code
function file_create_htaccess($directory, $private = TRUE, $force_overwrite = FALSE) {
watchdog_deprecated_function('drupal', __FUNCTION__);
file_save_htaccess($directory, $private, $force_overwrite);
}