|
- <?php
- /*
- Author:XM
- Compeny:Spiders Travel
- */
- if(empty($_SERVER['APPLICATION_ENV']) || $_SERVER['APPLICATION_ENV']=='production') {
- defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'production');
- } else {
- defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'dev');
- }
- $getDbConfig = require dirname(dirname(__DIR__)).'/config/dbConfig/db.'.APPLICATION_ENV.'.config.php';
- $config = $getDbConfig['CST'];
- define("MYSQL_HOST", $config['host']);
- define("MYSQL_USER", $config['user']);
- define("MYSQL_PASSWORD", $config['pwd']);
- define("MYSQL_DB", $config['db']);
- define("MYSQL_PORT", $config['port']);
- define("TOKEN", "xm-zzcx8888!@#");
- define("ALLOW_ORIGIN", true);
- define("SEND_MESSAGE", true);
- define('APPID', 'wxbe6da4af3e529e0c');
- define('APPSECRET', '7c1b14020e87e9e213696e870da0e549');
-
-
- define("MYSQL_HOST2", "139.196.199.238");
- define("MYSQL_USER2", "root");
- define("MYSQL_PASSWORD2", "123456");
- define("MYSQL_DB2", "disney");
- define("MYSQL_PORT2", 3306);
-
- define("MEMCACHE_HOST", "139.224.30.29");
- define("MEMCACHE_PORT", "11211");
- define("MEMCACHE_USER", "memcached");
- define("API_GPS_ACCOUNT", "15618818219");
- define("API_GPS_PASSWORD", "123456");
-
|