-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv_interface.php
More file actions
63 lines (43 loc) · 1.25 KB
/
env_interface.php
File metadata and controls
63 lines (43 loc) · 1.25 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
54
55
56
57
58
59
60
61
62
<?php
//
// Environment Interface for non Web Interface
// by Fumi.Iseki
//
//
require_once(realpath(dirname(__FILE__).'/config.php'));
require_once(ENV_HELPER_PATH.'/../include/tools.func.php');
require_once(ENV_HELPER_PATH.'/../include/mysql.func.php');
require_once(ENV_HELPER_PATH.'/../include/env.mysql.php');
require_once(ENV_HELPER_PATH.'/../include/opensim.mysql.php');
// for Login Page
$LOGIN_SCREEN_CONTENT = "Welcome to My Grid";
$BOX_TITLE = "Attention";
$BOX_COLOR = "red";
$BOX_INFOTEXT = "please rewrite env_interface.php";
$GRID_NAME = "My Grid";
$REGION_TTL = "My Regions";
$DB_STATUS_TTL = "DB Status";
$ONLINE = " ONLINE ";
$OFFLINE = " OFFLINE ";
$TOTAL_USER_TTL = "Total Users";
$TOTAL_REGION_TTL = "Total Regions";
$LAST_USERS_TTL = "Visitors last 30 days";
$ONLINE_TTL = "OnLine Now";
/////////////////////////////////////////////////////////////////////////////////
//
//
function env_get_user_email($uid)
{
return "";
}
//
// Config Value
//
$env_config["currency_script_key"] = CURRENCY_SCRIPT_KEY;
function env_get_config($name)
{
global $env_config;
return $env_config[$name];
}
//
if (!defined('ENV_READED_INTERFACE')) define('ENV_READED_INTERFACE', 'YES');