System:Router:getModulePath

From Aspen Documentation

Returns the server path to our module

Since 1.0

Arguments

string getModulePath ([ $module = false], [ $interface = false])

module
The name of a module. If false, the current module is assumed.
interface
The name of an interface. If false, the current interface is assumed.

Returns

Returns a string.

Examples

Example:

$this->APP->router->getModulePath();

Returns:

/usr/local/apache2/htdocs/aspen/modules/Index