GetModuleInstallationRoot (open)

Get the directory a module is installed in

Syntax

LOADLIB "mod::system/lib/configure.whlib";

STRING FUNCTION GetModuleInstallationRoot(STRING modulename)

Parameters

STRING modulename

Name of the module

Return value

STRING

The module's installation directory (eg "/opt/webhare/modules/system")

Description

Retrieve the WebHare installation directory for the specified module, if the module was installed to disk