Extracted at 2009-10-25.
pike.ida.liu.se
[Top]
Fins
Fins.StaticController

Class Fins.StaticController

Description

a controller that serves a directory of static content.

Note

it's not necessary (and not very useful) to load a static controller with load_controller ().

additionally, directory listings are not generated by this controller.

Example

// in this example, mystaticdir will be served from the "foo" mountpoint. Fins.StaticController foo; void start() { foo = Fins.StaticController(app, "mystaticdir"); }



Inherit FinsController

inherit Fins.FinsController : FinsController