闸门小程序接口
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
if( defined('SAE_APPNAME') )
|
||||
{
|
||||
$GLOBALS['config']['db']['db_host'] = SAE_MYSQL_HOST_M;
|
||||
$GLOBALS['config']['db']['db_host_read'] = SAE_MYSQL_HOST_S;
|
||||
|
||||
$GLOBALS['config']['db']['db_port'] = SAE_MYSQL_PORT;
|
||||
|
||||
$GLOBALS['config']['db']['db_user'] = SAE_MYSQL_USER;
|
||||
$GLOBALS['config']['db']['db_password'] = SAE_MYSQL_PASS;
|
||||
$GLOBALS['config']['db']['db_name'] = SAE_MYSQL_DB;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
$GLOBALS['config']['db']['db_host'] = '39.100.116.156';
|
||||
$GLOBALS['config']['db']['db_port'] = 3306;
|
||||
$GLOBALS['config']['db']['db_user'] = 'root';
|
||||
$GLOBALS['config']['db']['db_password'] = 'bjzgy113#';
|
||||
$GLOBALS['config']['db']['db_name'] = 'gate_opmonitor';
|
||||
}
|
||||
Reference in New Issue
Block a user