-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathoptions.php
More file actions
32 lines (22 loc) · 758 Bytes
/
Copy pathoptions.php
File metadata and controls
32 lines (22 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
global $APPLICATION;
use Bitrix\Main\Loader;
use Sprint\Migration\Locale;
use Sprint\Migration\Module;
try {
if (!Loader::includeModule('sprint.migration')) {
Throw new Exception('need to install module sprint.migration');
}
if ($APPLICATION->GetGroupRight('sprint.migration') == 'D') {
Throw new Exception(Locale::getMessage("ACCESS_DENIED"));
}
Module::checkHealth();
include __DIR__ . '/admin/includes/options.php';
include __DIR__ . '/admin/assets/style.php';
} catch (Throwable $e) {
$sperrors = [];
$sperrors[] = $e->getMessage();
include __DIR__ . '/admin/includes/errors.php';
include __DIR__ . '/admin/includes/help.php';
include __DIR__ . '/admin/assets/style.php';
}