C=/var/www/glarkru/data/www/server.glark.ru/core/core.php
echo '== HTTP_HOST / SERVER_NAME / domains resolution =='
grep -n 'HTTP_HOST\|SERVER_NAME\|domains\|getPath\|rootPath\|host' $C | head -40
echo '== site resolution block =='
L=$(grep -n 'HTTP_HOST' $C | head -1 | cut -d: -f1); echo "line $L"; sed -n "$((L-10)),$((L+40))p" $C
