Function: load

Loads additional PHP files

You can set the root directory with c::set('root', 'my/root');
By default the same directory in which the kirby toolkit file is located will be used.

Info

Syntax

load()

Parameters

Return (array)

Returns a Kirby response array. On error the response array includes the unloadable files (errors).