-
Notifications
You must be signed in to change notification settings - Fork 23
/
make_notify.php
40 lines (30 loc) · 965 Bytes
/
make_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'] = 'Notify';
$_GET['a'] = 'orderNotify';
define('ROOT_PATH',str_replace('\\','/',dirname(__FILE__)) . '/');
define ('RUNTIME_PATH','./Runtime/');
require './ThinkPHP/ThinkPHP.php';
?>