* renaming xdebug scripts for non-conflicts name with user defined scripts in home directory starts with s and q

+ tail db general log bash helper
* correct path to xdebug2 config for previous php 74 version
- remove unnecessary laradock example crontab because this script moved crontab-example dir
* improve (un)create symlinks script logic
* use only newly composer auth path
This commit is contained in:
2023-01-15 15:08:15 +03:00
parent 9fab9307b6
commit dbe3a916f1
8 changed files with 29 additions and 16 deletions

16
bash/xdebug-quit.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
PHP_VERSION=$1 # Without dot
WITH_PROFILER=$2
if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=74; fi
POSSIBLE_XDEBUG_VERSION=xdebug2
if [[ $PHP_VERSION -gt 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}