diff options
Diffstat (limited to 'scripts/.local/bin/personal/wrapper/phps')
-rwxr-xr-x | scripts/.local/bin/personal/wrapper/phps | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/scripts/.local/bin/personal/wrapper/phps b/scripts/.local/bin/personal/wrapper/phps new file mode 100755 index 0000000..5567837 --- /dev/null +++ b/scripts/.local/bin/personal/wrapper/phps @@ -0,0 +1,9 @@ +#!/bin/bash + +if [[ -n "$1" ]]; then + echo "php -S localhost:1337 -c $1" + php -S localhost:1337 -c "$1" +else + echo "php -S localhost:1337" + php -S localhost:1337 +fi |