This commit is contained in:
cjd
2026-02-05 22:22:10 +08:00
parent fef9fe0c31
commit bf3a2e6971
273 changed files with 30605 additions and 0 deletions

12
web10/tools/serve.ps1 Normal file
View File

@@ -0,0 +1,12 @@
param(
[string]$HostAddress = "127.0.0.1",
[int]$Port = 8000
)
$root = Split-Path -Parent $PSScriptRoot
$server = Join-Path $root "server.php"
$public = Join-Path $root "public"
$addr = "$HostAddress`:$Port"
& "$PSScriptRoot/php82.ps1" "-S" $addr "-t" $public $server
exit $LASTEXITCODE