diff --git a/server/cron.sh b/server/cron.sh index 05fa10ef0d5c96a8d50d88b9e0cf0c1ca665084e..ddbf8c7618a6c95eb65aca475a52710b5c35a961 100644 --- a/server/cron.sh +++ b/server/cron.sh @@ -2,6 +2,8 @@ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin +. /etc/profile + if [ -f /usr/local/ispconfig/server/lib/php.ini ]; then PHPINIOWNER=`stat -c %U /usr/local/ispconfig/server/lib/php.ini` if [ $PHPINIOWNER == 'root' ] || [ $PHPINIOWNER == 'ispconfig' ]; then