function _livechat_active in LiveChat 8.3
Helper function to check whether LiveChat is active.
1 call to _livechat_active()
- livechat_page_attachments_alter in ./
livechat.module - Implements hook_page_attachments_alter().
File
- ./
livechat.module, line 40 - LiveChat module.
Code
function _livechat_active($path) {
$page_match = FALSE;
if (strpos($path, "admin")) {
$page_match = TRUE;
}
return $page_match;
}