-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathenv.php
36 lines (30 loc) · 943 Bytes
/
env.php
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
<?php
require_once("../../global/library.php");
use FormTools\Core;
use FormTools\General;
use FormTools\Modules;
$module = Modules::initModulePage("admin");
$L = $module->getLangStrings();
$page = Modules::loadModuleField("system_check", "page", "page", "summary");
$root_url = Core::getRootUrl();
$same_page = General::getCleanPhpSelf();
$page_vars = array(
"page" => $page,
"tabs" => array(
"summary" => array(
"tab_label" => $L["word_summary"],
"tab_link" => "{$same_page}?page=summary",
"pages" => array("summary")
),
"phpinfo" => array(
"tab_label" => "phpinfo",
"tab_link" => "{$same_page}?page=phpinfo",
"pages" => array("phpinfo")
)
)
);
if ($page === "phpinfo") {
$module->displayPage("templates/env.tpl", $page_vars);
} else {
require_once("env_tab_summary.php");
}