111
<?php
namespace think;
/*
设置默认时区的两种方法
ini_set('date.timezone','Asia/shanghai');
date_default_timezone_set('Asia/shanghai');
*/
ini_set('date.timezone','Asia/shanghai');
define('WEB_PATH',str_replace('\\','/',__DIR__));
define('ROOT_PATH',dirname(WEB_PATH));
define('EXTEND_PATH',ROOT_PATH.'/extend');
require ROOT_PATH.'/thinkphp/base.php';
//$build = include ROOT_PATH.'/app/build.php';
//\think\Build::run($build);
Container::get('app')->path(ROOT_PATH.'/app')->run()->send();
222
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!