Re: cron dispatcher and route

2010-07-03 Thread Dmitry Shevchenko
Hi seems that the fastest solution - is set FULL_BASE_URL in the cron dispatcher if (!defined('FULL_BASE_URL')) { define('FULL_BASE_URL', 'http://www.mydomain.com'); } if someone knew better way - please tell me. Thank you. Check out the new CakePHP Questions site http://cakeqs.or

cron dispatcher and route

2010-06-29 Thread Dmitry Shevchenko
Hi I have created a cron job which is send emails. On email template I use route to create correct links. When I send email from "normal" environment all links created correct, but when I'm trying to send it by cron I have get a links without domain, it looks like (/user/login I wanted domain.com