food_server/flyCube.php
2024-05-30 19:16:59 +08:00

44 lines
1.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/*
* @Author: 4021673@qq.com
* @Date: 2022-05-27 23:52:59
* @LastEditTime: 2024-05-15 18:45:31
* @Description: Do not edit
*/
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// | vesion3.2.3
// +----------------------------------------------------------------------
// 应用入口文件
//设定utf8编码格式
header("Content-Type:text/html; charset=utf-8");
//更新时区
date_default_timezone_set(
'PRC'
);
//设置时区
date_default_timezone_set('Asia/Shanghai');
// 检测PHP环境
if (version_compare(PHP_VERSION, '5.3.0', '<')) die('require PHP > 5.3.0 !');
// 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
define('APP_DEBUG', True);
// 定义应用名字+目录
define('APP_NAME', 'FlyCube');
define('APP_PATH', './FlyCube/');
// 引入Composer生成的自动加载器文件
require __DIR__ . '/vendor/autoload.php';
// 引入ThinkPHP入口文件
require './ThinkPHP/ThinkPHP.php';