uawdijnntqw1x1x1
IP : 216.73.216.46
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
vendor
/
cebe
/
..
/
craftcms
/
server-check
/
check.sh
/
/
#!/bin/bash # Craft CMS Server Check (one-liner) # # From the environment you want to check, run: # `curl -Lsf https://raw.githubusercontent.com/craftcms/server-check/HEAD/check.sh | bash` [[ $- = *i* ]] && echo "Don't source this script!" && return 10 checkTools() { Tools=("curl" "php" "rm" "tar" "grep" "cut") for tool in ${Tools[*]}; do if ! checkCmd $tool; then echo "Aborted, missing $tool." exit 6 fi done } checkCmd() { command -v "$1" > /dev/null 2>&1 } function serverCheck() { checkTools tmpDir="/tmp/craftcms-server-check" assetUrl="https://github.com/craftcms/server-check/releases/latest/download/craftcms-server-check.tar.gz" downloadToFile="${tmpDir}/craftcms-server-check.tar.gz" phpScript="${tmpDir}/checkit.php" echo "Downloading file… ${assetUrl}" mkdir "${tmpDir}" curl -fsSL "${assetUrl}" --output "${downloadToFile}" echo "Extracting…" tar -xzf "${downloadToFile}" -C "${tmpDir}" echo "Running Craft Server Check…" php $phpScript returnCode=$? rm -rf "${tmpDir}" return $returnCode } serverCheck exit $?
/srv/users/craft4/apps/craft4-newsite-space/vendor/cebe/../craftcms/server-check/check.sh