Files
laysite/config/process.php
T

16 lines
454 B
PHP

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