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/index.php

13 lines
244 B
PHP
Raw Permalink Normal View History

2020-04-25 22:20:29 +08:00
<?php
// [ 应用入口文件 ]
// 定义运行目录
define('WEB_PATH', __DIR__ . '/');
// 定义应用目录
define('APP_PATH', WEB_PATH . '../source/application/');
// 加载框架引导文件
require APP_PATH . '../thinkphp/start.php';