Search:     Advanced search

Introduction with Global Configuration File under Config.

Article ID: 79
Last updated: 14 Aug, 2011
Revision: 3
Print
Email to friend
Add comment
Views: 0
Comments: 0

The entire Application is configurable through two re-usable configuration files stored in application/configs. There are :

Application.ini  -  application.ini contains system specific variables and server locations. It is NOT recommended to modify until you are a framework expert and you aware what changes you are go to make. 

Config.ini  - config.ini file contains user define variables and parameters which can be modified based on your requirements. config.ini is created when you install the application and can be editable during the application runtime. 




MySQL Database:

The installation process configure to support MySQLI.  You can change the connection setting as follows :

eicra.params.lang = "en_US"
eicra.params.domain = "www.yourdomain.com"
eicra.params.adapter  = "mysqli"
eicra.params.host     = "localhost"
eicra.params.username = "username"
eicra.params.password = "xxxxxxxxx"

Default Web Settings : 

After installation, the following web settings are automatically configured by installer itself. You can change it later by manually changing following variables.

eicra.siteName = "CMS"

eicra.url = "http://www.yourdomain.com"
eicra.charset = "utf-8"
eicra.web_title = "YOUR SITE"
eicra.meta_keyword = "SEO Keywords"
eicra.meta_description = "SEO Description"
eicra.offline = "false"
eicra.offline_message = "This site is maintained. Sorry for any inconvenience. Please come back later. Thank you."
eicra.session_lifetime = "3600"

Time Zone :

After installation, the time zone is automatically configured by installer itself. You can change it later by manually changing following variables.

eicra.timezone = "Europe/London"
eicra.date_time_format = "m-d-Y H:i:s" 
eicra.date_format = "m-d-Y"

Records of Installation :

After installation, it keeps track of installation information and it’s date time. The purpose of keeping installation date here, is to protect the presently running installation safe from overwriting by new installation process. In short, it protects the application from being installed on an existing running instance.

If you want to re-install the application, you may delete the entire [install] block and save it. The Application will start re-installing again as soon as it can’t track previous installation history.

You may call it as extra layer of security for a hacker to destroy or mistake may cause by webmasters.

[install]

local_key = "XXX 32 bit value"
license_key = "Eicra-XXXX"
date = "09-13-2012 05:44:36"
version = "2.4.0"

This article was:  
Also read
document How to link a Menu with a Content or Extension page ?

Also listed in
folder Modules Wise Documentation -> Introduction
folder Site Building Guide
folder Maintenance and Optimization

Prev   Next
A Quick Start Guide     How to create a new Link to content or menu by coping a existing...