Jump to content
  • 0

Incorrect Url In Email Templates Sent Via Cron


jesin

Question

Related: http://www.blesta.com/forums/index.php?/topic/3164-email-templates-with-wrong-urls/

 

I have Blesta installed on an Nginx webserver. Initially I installed in the root directory, then created a directory named billing, moved everything to it, changed the root_web_dir setting to /var/www/domain.com/billing/ and reissued the license.

 

When I manually choose to email an invoice the /billing/ prefix is present in the URL, however when it is done automatically through cron the links  simply point to domain.com/clients/

 

This is my cronjob

 

/usr/bin/php -d "sendmail_path=/usr/sbin/sendmail <sendmail arguments> -t" /var/www/domain.com/billing/index.php cron > /dev/null

 

What could be wrong?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...