Skip to content

Commit

Permalink
Added documentation for App.base
Browse files Browse the repository at this point in the history
As discussed in cakephp/docs#4895
  • Loading branch information
liviakuenzli committed Apr 19, 2017
1 parent eb937e3 commit ce9f333
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion app/Config/core.php
Expand Up @@ -116,10 +116,17 @@
* for any URL generation inside the application, set the following
* configuration variable to the http(s) address to your domain. This
* 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');

/**
* 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.
* If not set defaults to 'img/'
Expand Down

0 comments on commit ce9f333

Please sign in to comment.