You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
452 B
16 lines
452 B
#!/bin/bash
|
|
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
|
|
|
|
PHP_VERSION=$1 # Without dot
|
|
WITH_PROFILER=$2
|
|
|
|
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=81; fi
|
|
|
|
POSSIBLE_XDEBUG_VERSION=xdebug2
|
|
|
|
if [[ $PHP_VERSION -ge 81 ]]; then
|
|
POSSIBLE_XDEBUG_VERSION=xdebug3
|
|
fi
|
|
|
|
${DIR}/dockerfiles/php-fpm/${POSSIBLE_XDEBUG_VERSION}/xdebug.sh stop ${PHP_VERSION} ${WITH_PROFILER}
|
|
${DIR}/dockerfiles/workspace/xdebug.sh stop ${PHP_VERSION} ${WITH_PROFILER}
|