Blogger Information
Blog 1
fans 0
comment 0
visits 602
Related recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
121111
等待,就是浪费青春的博客
Original
602 people have browsed it

111

  1. <?php
  2. namespace think;
  3. /*
  4. 设置默认时区的两种方法
  5. ini_set('date.timezone','Asia/shanghai');
  6. date_default_timezone_set('Asia/shanghai');
  7. */
  8. ini_set('date.timezone','Asia/shanghai');
  9. define('WEB_PATH',str_replace('\\','/',__DIR__));
  10. define('ROOT_PATH',dirname(WEB_PATH));
  11. define('EXTEND_PATH',ROOT_PATH.'/extend');
  12. require ROOT_PATH.'/thinkphp/base.php';
  13. //$build = include ROOT_PATH.'/app/build.php';
  14. //\think\Build::run($build);
  15. 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!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post