This repository has been archived on 2024-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
yoshop/web/notice.php

16 lines
307 B
PHP
Raw Permalink Normal View History

2020-04-25 22:20:29 +08:00
<?php
// [ 支付通知入口文件 ]
// 手动定义路由
$_GET['s'] = '/api/notify/order';
// 定义运行目录
define('WEB_PATH', __DIR__ . '/');
// 定义应用目录
define('APP_PATH', WEB_PATH . '../source/application/');
// 加载框架引导文件
require APP_PATH . '../thinkphp/start.php';