function drush_acsf_init_get_htaccess_path in Acquia Cloud Site Factory Connector 8
Returns the path to the .htaccess file within the codebase.
Return value
string The full absolute path to the .htaccess file.
2 calls to drush_acsf_init_get_htaccess_path()
- drush_acsf_init_patch_htaccess in acsf_init/
acsf_init.drush.inc - Patches the htaccess file to allow access to our apc_rebuild.php script.
- drush_acsf_init_test_htaccess_is_patched in acsf_init/
acsf_init.drush.inc - Determines whether htaccess allows access to our apc_rebuild.php script.
File
- acsf_init/
acsf_init.drush.inc, line 848 - Provides drush commands to set up a site for Acquia Site Factory.
Code
function drush_acsf_init_get_htaccess_path() {
return DRUPAL_ROOT . '/.htaccess';
}