app.php 820 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * This file is part of webman.
  4. * Licensed under The MIT License
  5. * For full copyright and license information, please see the MIT-LICENSE.txt
  6. * Redistributions of files must retain the above copyright notice.
  7. * @author walkor<walkor@workerman.net>
  8. * @copyright walkor<walkor@workerman.net>
  9. * @link http://www.workerman.net/
  10. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  11. */
  12. use support\Request;
  13. return [
  14. 'debug' => true,
  15. 'error_reporting' => E_ALL,
  16. 'default_timezone' => 'Asia/Shanghai',
  17. 'request_class' => Request::class,
  18. 'public_path' => base_path(false) . DIRECTORY_SEPARATOR . 'public',
  19. 'runtime_path' => base_path(false) . DIRECTORY_SEPARATOR . 'runtime',
  20. 'controller_suffix' => 'Controller',
  21. 'controller_reuse' => false,
  22. ];