notify.php 951 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /**
  3. * lionfish 商城系统
  4. *
  5. * ==========================================================================
  6. * @link http://www.liofis.com/
  7. * @copyright Copyright (c) 2015-2016 liofis.com.
  8. * @license http://www.liofis.com/license.html License
  9. * ==========================================================================
  10. *
  11. * @author fish
  12. *
  13. */
  14. if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !');
  15. header("Content-Type:text/html; charset=utf-8");
  16. define('APP_DEBUG', true);
  17. define('BIND_MODULE','Home');
  18. define ('APP_PATH', './Modules/' );
  19. if (!is_file( 'Modules/Common/Conf/db.php')) {
  20. header('Location: ./install.php');
  21. exit;
  22. }
  23. //index.php?c=Public&a=login
  24. //Payment/weixin_notify
  25. $_GET['c'] = 'Payment';
  26. $_GET['a'] = 'weixin_notify';
  27. define('ROOT_PATH',str_replace('\\','/',dirname(__FILE__)) . '/');
  28. define ('RUNTIME_PATH','./Runtime/');
  29. require './ThinkPHP/ThinkPHP.php';
  30. ?>