Skip to content
saturngod edited this page Jan 23, 2012 · 1 revision

Configuration

We can use multiple configuration files in Ava Framework. Example: development and production. Development and production are not same configuration.

We can choose configuration files at system/config/config.php

date_default_timezone_set('Asia/Singapore');

$stage="development";

include $stage.".php";

date_default_timezone_set is for time zone configuration. Need to add correct time zone for date() function.

$stage is the configuration files. Default is development.

Clone this wiki locally