class StaticAssetController (View source)

Serves static assets like CSS, JS, images and fonts.

Deliberately does not extend BaseController, whose constructor connects to the database unconditionally. Every shipped web server config serves existing assets straight from disk, so the requests that reach this class are the ones for files that do not exist - a database connection per 404 that nothing here needs.

Methods

__construct(array $requestData)

No description

void
run()

No description

Details

__construct(array $requestData)

No description

Parameters

array $requestData

void run()

No description

Return Value

void