6 lines
129 B
Batchfile
6 lines
129 B
Batchfile
@echo off
|
|
setlocal
|
|
set PORT=%~1
|
|
if "%PORT%"=="" set PORT=8000
|
|
cd /d "%~dp0"
|
|
php -S 127.0.0.1:%PORT% -t "%~dp0" "%~dp0router.php"
|