7 calls to FileSecurity::htaccessLines()
- DirectoryTest::testFileCheckDirectoryHandling in core/
tests/ Drupal/ KernelTests/ Core/ File/ DirectoryTest.php - Test directory handling functions.
- FileSaveHtaccessLoggingTest::testHtaccessSave in core/
modules/ system/ tests/ src/ Functional/ File/ FileSaveHtaccessLoggingTest.php - Tests file_save_htaccess().
- FileSecurity::writeHtaccess in core/
lib/ Drupal/ Component/ FileSecurity/ FileSecurity.php - Writes an .htaccess file in the given directory, if it doesn't exist.
- FileStorage::htaccessLines in core/
lib/ Drupal/ Component/ PhpStorage/ FileStorage.php - Returns the standard .htaccess lines that Drupal writes to file directories.
- file_htaccess_lines in core/
includes/ file.inc - Returns the standard .htaccess lines that Drupal writes to file directories.
- HtaccessWriter::write in core/
lib/ Drupal/ Core/ File/ HtaccessWriter.php - Creates a .htaccess file in the given directory.
- MTimeProtectedFileStorageBase::testSecurity in core/
tests/ Drupal/ Tests/ Component/ PhpStorage/ MTimeProtectedFileStorageBase.php - Tests the security of the MTimeProtectedFileStorage implementation.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.