MediaWiki master
MediaWiki\Composer\ComposerVendorHtaccessCreator Class Reference

Creates a .htaccess in the vendor/ directory to prevent web access. More...

Static Public Member Functions

static onEvent ()
 Handle post-install-cmd and post-update-cmd hooks.
 

Detailed Description

Creates a .htaccess in the vendor/ directory to prevent web access.

This class runs outside of the normal MediaWiki environment and cannot depend upon any MediaWiki code.

Definition at line 31 of file ComposerVendorHtaccessCreator.php.

Member Function Documentation

◆ onEvent()

static MediaWiki\Composer\ComposerVendorHtaccessCreator::onEvent ( )
static

Handle post-install-cmd and post-update-cmd hooks.

Definition at line 36 of file ComposerVendorHtaccessCreator.php.


The documentation for this class was generated from the following file: