Browse Source

Fix php working dir

master
southerntofu 1 year ago
parent
commit
e310b302e4
  1. 2
      server

2
server

@ -1,6 +1,5 @@
#! /bin/bash
# This script should be used by the test suite, don't useit manually
# or you may end up with zombie processes lying around
if [ -z "$FORGEHOOKPORT" ]; then
[ -z "$1" ] && exit 1
@ -8,6 +7,7 @@ if [ -z "$FORGEHOOKPORT" ]; then
fi
[ -z "$FORGEHOOK" ] && FORGEHOOK="forgehook"
cd "$(dirname "$0")"
php -S localhost:$FORGEHOOKPORT
if [[ $? != 0 ]]; then
exit 2

Loading…
Cancel
Save