forked from Dejavu-Tech/EP-Admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
delivery_notify.php
40 lines (30 loc) · 968 Bytes
/
delivery_notify.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
/**
* eaterplanet 商城系统
*
* ==========================================================================
* @link https://e-p.cloud/
* @copyright Copyright (c) 2019-2024 Dejavu Tech.
* @license https://github.com/Dejavu-Tech/EP-Admin/blob/main/LICENSE
* ==========================================================================
*
* @author Albert.Z
*
*/
if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !');
header("Content-Type:text/html; charset=utf-8");
define('APP_DEBUG', true);
define('BIND_MODULE','Home');
define ('APP_PATH', './Modules/' );
if (!is_file( 'Modules/Common/Conf/install.lock')) {
header('Location: ./install.php');
exit;
}
//index.php?c=Public&a=login
//Payment/weixin_notify
$_GET['c'] = 'Thirthdelivery';
$_GET['a'] = 'notify';
define('ROOT_PATH',str_replace('\\','/',dirname(__FILE__)) . '/');
define ('RUNTIME_PATH','./Runtime/');
require './ThinkPHP/ThinkPHP.php';
?>