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
|
<?php
$ALL_EXPORT_FORMATS = $EXPORT_FORMATS;
$ALL_MODULES = $MODULES;
$ALL_POPUPS = $POPUPS;
$ALL_CONTROLS = $CONTROLS;
$setups = getenv("ADEI_ENABLED_SETUPS");
if ($setups !== false) {
$setups = preg_split("/[\s,]+/", $setups);
}
$dh = opendir("setups/");
while (($subdir = readdir($dh)) !== false) {
if (!is_dir("setups/$subdir")||($subdir == $ADEI_SETUP)||(!strncmp($subdir,".",1))) continue;
if (!is_file("setups/$subdir/config.php")) continue;
if ($setups) {
if (in_array($subdir, $setups))
include("setups/$subdir/config.php");
} else {
if (!is_file("setups/$subdir/.exclude"))
include("setups/$subdir/config.php");
}
}
$TITLE = "ADEI";
$MODULES = $ALL_MODULES;
$POPUPS = $ALL_POPUPS;
$CONTROLS = $ALL_CONTROLS;
$EXPORT_FORMATS = $ALL_EXPORT_FORMATS;
$ADEI_SRCTREE_EXTRA = array();
$SEARCH_ENGINES = array (
"ITEMSearch" => array(),
"INTERVALSearch" => array(),
"PROXYSearch" => array()
);
?>
|