-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.php
More file actions
35 lines (28 loc) · 806 Bytes
/
index.php
File metadata and controls
35 lines (28 loc) · 806 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
33
34
35
<?php
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
{
require('template/' . $app_layout);
}
require('includes/application_bottom.php');