Skip to content

Commit

Permalink
Checks initialization of the Bitrix
Browse files Browse the repository at this point in the history
  • Loading branch information
niksamokhvalov committed Dec 4, 2015
1 parent 737a204 commit 207c11f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
* @license MIT
*/

if (!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED !== true) die();

$manager = \Bitrix\Main\EventManager::getInstance();

$manager->addEventHandler('main', 'OnBeforeGroupAdd', ['\Bex\Tools\Group\GroupTools', 'onBeforeGroupAdd']);
Expand Down

0 comments on commit 207c11f

Please sign in to comment.