string GetModuleID( string path )
The function GetModuleID returns the identifier of the module to which the specified file belongs.
Parameter | Description |
---|---|
path | Path to a file in /bitrix/modules/. |
<? echo GetModuleID("/bitrix/modules/main/include.php"); // main ?>
© 2001-2005 Bitrix | Bitrix Site Manager - Content Management & Portal Solutions |