#!/bin/sh


str='!/usr/bin/php'
newstr='!/usr/local/psa/bin/sw-engine-pleskrun'
script="/opt/ctch/ctoblogs.php"

[ -f "$script" ] || exit 0

sed -i -e "s|$str|$newstr|" $script
