We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 323a4fa + 56017ef commit d455d50Copy full SHA for d455d50
1 file changed
bin/server.sh
@@ -9,4 +9,7 @@
9
10
cd `dirname $0`/..
11
12
-php -S 127.0.0.1:8000 -t public/ -f bin/router.php
+ADDR_PORT=${1:-127.0.0.1:8000}
13
+DOC_ROOT=${2:-public}
14
+
15
+php -S "$ADDR_PORT" -t "$DOC_ROOT/" -f bin/router.php
0 commit comments