X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=bin%2Fcli-server;h=30373f82904fd6e4ad2be357f003bdda8beba0d2;hb=c5efaeee1075614b4f8cc1ce373df1adcc4ee9fb;hp=05d700b8137ec7e1a7b67c177712c39494677787;hpb=6478b415c59070f70ed860f3a592377eef9783b1;p=mdref%2Fmdref diff --git a/bin/cli-server b/bin/cli-server index 05d700b..30373f8 100755 --- a/bin/cli-server +++ b/bin/cli-server @@ -46,5 +46,5 @@ fi export REFPATH for p in {8000..8100}; do - php -S localhost:$p -t . index.php && break + ${PHP:-php} -S localhost:$p -t . index.php && break done