Answer the question
In order to leave comments, you need to log in
Why do a module connection check if I want to connect it anyway?
Why do a module connection check if I want to connect it anyway?
if(CModule::IncludeModule("socialnetwork"))
{
//здесь можно использовать функции классов модуля socialnetwork
}
CModule::IncludeModule("socialnetwork")
Answer the question
In order to leave comments, you need to log in
We open the documentation and see:
Returns "true" if the module is installed, "false" otherwise.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question