![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/.ddev/commands/host/ |
#!/bin/bash ## #ddev-generated: If you want to edit and own this file, remove this line. ## Description: Launch a browser with PhpMyAdmin ## Usage: phpmyadmin ## Example: "ddev phpmyadmin" DDEV_PHPMYADMIN_PORT=8036 DDEV_PHPMYADMIN_HTTPS_PORT=8037 if [ ${DDEV_PRIMARY_URL%://*} = "http" ] || [ -n "${GITPOD_WORKSPACE_ID:-}" ] || [ "${CODESPACES:-}" = "true" ]; then # Gitpod: "gp preview" opens a blank page for PhpMyAdmin, use "xdg-open" instead if [ "${OSTYPE:-}" = "linux-gnu" ] && [ -n "${GITPOD_WORKSPACE_ID:-}" ] && [ -z "${DDEV_DEBUG:-}" ]; then xdg-open "$(DDEV_DEBUG=true ddev launch :$DDEV_PHPMYADMIN_PORT | grep "FULLURL" | awk '{print $2}')" else ddev launch :$DDEV_PHPMYADMIN_PORT fi else ddev launch :$DDEV_PHPMYADMIN_HTTPS_PORT fi