Skip to content

Commit

Permalink
Merge branch 'indrakaw-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jun 3, 2018
2 parents 323a4fa + 56017ef commit d455d50
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@

cd `dirname $0`/..

php -S 127.0.0.1:8000 -t public/ -f bin/router.php
ADDR_PORT=${1:-127.0.0.1:8000}
DOC_ROOT=${2:-public}

php -S "$ADDR_PORT" -t "$DOC_ROOT/" -f bin/router.php

0 comments on commit d455d50

Please sign in to comment.