Files

16 lines
456 B
PHP

<?php
return [
'webman' => [
'handler' => Webman\App::class,
'listen' => getenv('LAYSENSE_LISTEN') ?: 'http://127.0.0.1:8787',
'count' => max(1, (int) (getenv('LAYSENSE_WORKERS') ?: 2)),
'constructor' => [
'requestClass' => App\Http\Request::class,
'logger' => support\Log::channel('default'),
'appPath' => app_path(),
'publicPath' => public_path(),
],
],
];