HtaccessWriterInterface
interface HtaccessWriterInterface (View source)
Interface for managing Apache .htaccess files.
Methods
ensure()
Creates a .htaccess file in each Drupal files directory if it is missing.
defaultProtectedDirs()
Returns a list of the default protected directories.
Details
ensure()
Creates a .htaccess file in each Drupal files directory if it is missing.
ProtectedDirectory[]
defaultProtectedDirs()
Returns a list of the default protected directories.