When the minimum CakePHP version will be 2.4 the `FULL_BASE_URL` constant will have to be replaced with `Router::fullbaseUrl()` See http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#FULL_BASE_URL