Method MasterObject()->CompatResolver()->add_module_path()
- Method
add_module_path
void
add_module_path(string
path
,string
|void
subpath
)- Description
Add a directory to search for modules.
This is the same as the command line option -M.
- See also
- Parameter
path
a string containing a path to search for Pike modules. May be a directory, or a path to a ZIP archive. If a ZIP archive path is provided, modules will be loaded from a directory, "modules" within the ZIP archive (see the subpath argument).
- Parameter
subpath
if path is a ZIP archive, this argument will determine the path within the archive to be searched.