php8
This commit is contained in:
@@ -14,7 +14,7 @@ if [ ! -f "$samRoot/index.php" ]; then
|
||||
gosu www-data git clone $gameGitPath $samRoot
|
||||
fi
|
||||
|
||||
if [ $HIDCHE_IMAGE_USE_INTERNAL = "yes" ] && [ ! -d "$imageRoot" ]; then
|
||||
if [ "$HIDCHE_IMAGE_USE_INTERNAL" = "yes" ] && [ ! -d "$imageRoot" ]; then
|
||||
if [[ "$imgGitPath" =~ ^ssh ]]; then
|
||||
query=`echo "<?php \\\$a=parse_url('$imgGitPath');echo join(' ', [\\\$a['port']?'-p '.\\\$a['port']:'',\\\$a['host']]);" | php`
|
||||
gosu www-data ssh-keyscan $query >> /var/www/.ssh/known_hosts 2>/dev/null;
|
||||
|
||||
Reference in New Issue
Block a user