|
- <?php
- /*
- Author:XM
- Compeny:Spiders Travel
- */
-
- $getDbConfig = require dirname(dirname(__DIR__)).'/config/dbConfig/db.dev.config.php';
- $dbConfig = $getDbConfig['CST'];
- define("MYSQL_HOST", $dbConfig['host']);
- define("MYSQL_USER", $dbConfig['user']);
- define("MYSQL_PASSWORD", $dbConfig['pwd']);
- define("MYSQL_DB", $dbConfig['db']);
- define("MYSQL_PORT", $dbConfig['port']);
- //define("TOKEN", "xm-zzcx8888!@#");
- define("ALLOW_ORIGIN", true);
- define("SEND_MESSAGE", true);
- //define('APPID', 'wxbe6da4af3e529e0c');
- //define('APPSECRET', '7c1b14020e87e9e213696e870da0e549');
- $memcacheConfig = require dirname(dirname(__DIR__)).'/config/siteConfig/site.dev.config.php';
- define("MEMCACHE_HOST", $memcacheConfig['memcache_host']);
- define("MEMCACHE_PORT", $memcacheConfig['memcache_port']);
- define("MEMCACHE_USER", "memcached");
- $wxPayConfig = require dirname(dirname(__DIR__)).'/config/wxpay.config.php';//获取微信配置文件
- define('FIRSTCHECK', false);
- define('ALWAYSCHECK', true);
- define("DEBUG", true);
- define('APPID',$wxPayConfig['appid']);//appid
- define('APPSECRET', $wxPayConfig['appsecret']);//appsecret
- define("TOKEN", "zzcx_wx_20160425");//define your token
- define("HOST", "127.0.0.1,8888");//define your token
- define("USER", "wxsvr");//define your token
- define("PASSWORD", "zzcxwx");//define your token
- define("DB", "WEIXIN");//define your token
- define("CONFIG_ADDR", __DIR__);
|