You are here

public function AcsfInitCommands::getHtaccessPath in Acquia Cloud Site Factory Connector 8.2

Returns the path to the .htaccess file within the codebase.

Return value

string The full absolute path to the .htaccess file.

2 calls to AcsfInitCommands::getHtaccessPath()
AcsfInitCommands::patchHtaccess in acsf_init/src/Commands/AcsfInitCommands.php
Patches the htaccess file to allow access to our apc_rebuild.php script.
AcsfInitCommands::testHtaccessIsPatched in acsf_init/src/Commands/AcsfInitCommands.php
Determines whether htaccess allows access to our apc_rebuild.php script.

File

acsf_init/src/Commands/AcsfInitCommands.php, line 689

Class

AcsfInitCommands
Provides drush commands to set up a codebase for Acquia Cloud Site Factory.

Namespace

Drush\Commands

Code

public function getHtaccessPath() {
  return DRUPAL_ROOT . '/.htaccess';
}