-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
53 lines (46 loc) · 1.6 KB
/
index.php
File metadata and controls
53 lines (46 loc) · 1.6 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* Этот файл является частью программы "CRM Руководитель" - конструктор CRM систем для бизнеса
* https://www.rukovoditel.net.ru/
*
* CRM Руководитель - это свободное программное обеспечение,
* распространяемое на условиях GNU GPLv3 https://www.gnu.org/licenses/gpl-3.0.html
*
* Автор и правообладатель программы: Харчишина Ольга Александровна (RU), Харчишин Сергей Васильевич (RU).
* Государственная регистрация программы для ЭВМ: 2023664624
* https://fips.ru/EGD/3b18c104-1db7-4f2d-83fb-2d38e1474ca3
*/
require('includes/application_top.php');
//include available plugins
require('includes/plugins.php');
//include overall action for whole module
if(is_file($path = $app_plugin_path . 'modules/' . $app_module . '/module_top.php'))
{
require($path);
}
//include plugins menu
require('includes/plugins_menu.php');
//include module action
if(is_file($path = $app_plugin_path . 'modules/' . $app_module . '/actions/' . $app_action . '.php'))
{
require($path);
}
if(IS_AJAX)
{
if(is_file($path = $app_plugin_path . 'modules/' . $app_module . '/views/' . $app_action . '.php'))
{
require($path);
}
}
else
{
if(substr($app_layout, 0, 8) === 'plugins/')
{
require($app_layout);
}
else
{
require('template/' . $app_layout);
}
}
require('includes/application_bottom.php');