ONO::ToolBox::Init

Functions

exec();

ONO::ToolBox::Init->exec( );

header();

This will set up all basic variables required for your own software platforms, at the same time it handles basic user authentication, including a sudo feature for admins.

This requires a database connection as well as the name of the running community / platform as input, with optional switches.

To enable the sudo feature, a list with allowed sudoers must be transmitted too.

Available switches:

-E use educational BLK langkit

ONO::ToolBox::Init->header( $db, $community, $switches, $sudos );
returns: ($vars_ref,$sql_ref,$lang,$BLK_ref)

Sub-Modules

none

Dependencies