The custom configuration file is apps/common/config/main-custom.php and by default it has this content:
[...]
return array(
// application components
'components' => array(
'db' => array(
'connectionString' => 'mysql:host=__host__;dbname=__dbname__',
'username' => '__user__',
'password' => '__pass__',
'tablePrefix' => 'mw_',
),
),
// app params
'params' => array(),
);
If you don’t have the ‘params’ section like shown above, make sure you add it like above.
Next, if we need to add custom params, we add them in the ‘params’ section like:
[...]
return array(
[...]
// app params
'params' => array(
'the.custom.param.name' => 'the custom params value',
),
);
Related Articles
Nginx server basic configuration for AppMail
Please note that the below configuration is going to use php-fpm for what is worth. /etc/nginx/nginx.conf # For more information on configuration, see: # * Official English Documentation: https://nginx.org/en/docs/ # * Official Russian Documentation: ...
How do I change the default DKIM selector and/or DKIM full selector?
The DKIM selector and DKIM full selector are defined as application params in the configuration, which means you can override them by adding following params in your apps/common/config/main-custom.php file: 'components' => array( ... ), 'params' => ...
How to add a custom theme for the file manager
AppMail uses ElFinder as its file manager of choice. While we think the default ElFinder theme looks very good, there are people that look for a different look, and this is why ElFinder supports custom themes. In order to add a custom theme in ...
Redirect the subscriber to a custom thank you page after subscribe
In order to redirect the subscriber to another page than the default one from AppMail after he subscribes, you have to follow a few simple steps. First, you have to enable the “List form custom redirect” extension which is disabled by default. This ...
Adding a new Amazon SES delivery server (Web API)
This article will drive you through the steps on creating and validating an Amazon SES delivery server. First of all, you have to create an account here. Once you are done and you are logged in, you should search for the Simple Email Service. The ...