And what I forgot to mention, from a View template, you should use
$this->Html->url('/', true) to generate a full URL. It will use
Router::url() anyway, but will save you the hassle of doing an App::uses()
in the .ctp.
On Saturday, 1 February 2014 16:22:54 UTC+10, Reuben wrote:
>
> To get a fu
To get a full URL, you can use Router::url('/', true). That will give you
the full URL to the application.
For applications running behind a load balancer, you may wish to specify
the BASE_URL, but I see you've already found that.
Regards
Reuben Helms
On Monday, 13 March 2006 13:20:32 UTC+10,
I would like to add authentication to a REST API server developed with
cakephp. Are there any links or tips that I can use for a start?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed
Do you mean the APP_DIR constant?
http://book.cakephp.org/2.0/en/core-libraries/global-constants-and-functions.html#core-definition-constants
These constants can be useful when working with files for example, when
needing an absolute path APP is good, or even WWW_ROOT / WEBROOT_DIR when
uploading
what is the use of APP_URL costant?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from
After struggling with this inconvenience for a couple of weeks now, I've
decided to open en now topic here. A topic that can help me, but I'm sure
it will help some others with this same problem too!
I wonder how I should name the tables, controllers and models of a hasMany
through table (thus