mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Added documentation for App.base
As discussed in https://github.com/cakephp/docs/issues/4895
This commit is contained in:
parent
eb937e3c79
commit
ce9f33314d
1 changed files with 8 additions and 1 deletions
|
@ -116,10 +116,17 @@
|
||||||
* for any URL generation inside the application, set the following
|
* for any URL generation inside the application, set the following
|
||||||
* configuration variable to the http(s) address to your domain. This
|
* configuration variable to the http(s) address to your domain. This
|
||||||
* will override the automatic detection of full base URL and can be
|
* will override the automatic detection of full base URL and can be
|
||||||
* useful when generating links from the CLI (e.g. sending emails)
|
* useful when generating links from the CLI (e.g. sending emails).
|
||||||
|
* If the application runs in a subfolder, you should also set App.base.
|
||||||
*/
|
*/
|
||||||
//Configure::write('App.fullBaseUrl', 'http://example.com');
|
//Configure::write('App.fullBaseUrl', 'http://example.com');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The base directory the app resides in. Should be used if the
|
||||||
|
* application runs in a subfolder and App.fullBaseUrl is set.
|
||||||
|
*/
|
||||||
|
//Configure::write('App.base', '/my_app');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Web path to the public images directory under webroot.
|
* Web path to the public images directory under webroot.
|
||||||
* If not set defaults to 'img/'
|
* If not set defaults to 'img/'
|
||||||
|
|
Loading…
Reference in a new issue