You are here

constant HTACCESS_TEMPLATE_PATH in Htaccess 8.2

Same name and namespace in other branches
  1. 7.2 htaccess.module \HTACCESS_TEMPLATE_PATH

@file Htaccess is a module which autogenerates a Drupal root htaccess file based on your settings.

3 uses of HTACCESS_TEMPLATE_PATH
HtaccessDisplayForm::htaccess_admin_settings_generate_submit in src/Form/HtaccessDisplayForm.php
Admin htaccess generate submit handler.
HtaccessGenerateForm::submitForm in src/Form/HtaccessGenerateForm.php
Form submission handler.
htaccess_install in ./htaccess.install
Implements hook_install(). Store the Drupal default htaccess into database.

File

./htaccess.module, line 9
Htaccess is a module which autogenerates a Drupal root htaccess file based on your settings.

Code

define('HTACCESS_TEMPLATE_PATH', drupal_get_path('module', 'htaccess') . '/includes/htaccess.txt');