Documentation > Configuration

Configuration

Jake configuration is done via an INI file located at its front installation dir (components/com_jake within Joomla main directory), and it is named jake.ini. With it you will have the possibility to set up different CakePHP applications that will be available in Joomla through Jake, and which of those applications will be run by default.

The configuration file is composed of sections, each section name defined between brackets. Each section will also hold settings in the form of key-value pairs, separating the key of the value with the equals sign. A default section called settings defines Jake general settings, such as the default application to run. The rest of the sections will be considered as settings for different CakePHP applications.

Let’s see an example configuration file:

[settings]     

default = "my_app"     

[my_app] 

name = "Example CakePHP application"
path = "../cake/app/webroot"
url = "/cake"
send = "param1=dummy1"

For each application you can define the following parameters (note that all strings must be enclosed between quotes):

You can have several available CakePHP applications defined in the configuration file. Just set up an application identifier (only consisting of letters, numbers, and the underscore sign), without using the identifier settings that is used to define Jake’s settings, and set your application parameters.

The settings section, that holds Jake general settings, consists of the following parameters:

Documentation


Navigate

 

Categories


Can't Miss