You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
1.4 KiB

  1. <?php
  2. /*
  3. Author:XM
  4. Compeny:Spiders Travel
  5. */
  6. $getDbConfig = require dirname(dirname(__DIR__)).'/config/dbConfig/db.dev.config.php';
  7. $dbConfig = $getDbConfig['CST'];
  8. define("MYSQL_HOST", $dbConfig['host']);
  9. define("MYSQL_USER", $dbConfig['user']);
  10. define("MYSQL_PASSWORD", $dbConfig['pwd']);
  11. define("MYSQL_DB", $dbConfig['db']);
  12. define("MYSQL_PORT", $dbConfig['port']);
  13. //define("TOKEN", "xm-zzcx8888!@#");
  14. define("ALLOW_ORIGIN", true);
  15. define("SEND_MESSAGE", true);
  16. //define('APPID', 'wxbe6da4af3e529e0c');
  17. //define('APPSECRET', '7c1b14020e87e9e213696e870da0e549');
  18. $memcacheConfig = require dirname(dirname(__DIR__)).'/config/siteConfig/site.dev.config.php';
  19. define("MEMCACHE_HOST", $memcacheConfig['memcache_host']);
  20. define("MEMCACHE_PORT", $memcacheConfig['memcache_port']);
  21. define("MEMCACHE_USER", "memcached");
  22. $wxPayConfig = require dirname(dirname(__DIR__)).'/config/wxpay.config.php';//获取微信配置文件
  23. define('FIRSTCHECK', false);
  24. define('ALWAYSCHECK', true);
  25. define("DEBUG", true);
  26. define('APPID',$wxPayConfig['appid']);//appid
  27. define('APPSECRET', $wxPayConfig['appsecret']);//appsecret
  28. define("TOKEN", "zzcx_wx_20160425");//define your token
  29. define("HOST", "127.0.0.1,8888");//define your token
  30. define("USER", "wxsvr");//define your token
  31. define("PASSWORD", "zzcxwx");//define your token
  32. define("DB", "WEIXIN");//define your token
  33. define("CONFIG_ADDR", __DIR__);