I sometimes work with Codeigniter, and after I\'m done developing on the local site, I need to migrate the files to the server. All the files in the /config/
fo
It depends on Your needs. In my company we use other approach. We've created several environments (where the asterix is internal project name):
Based on the domain name we switch automatically configurations. Basicly config file looks like:
array(
'devel' => array(
// config for devel
),
'production' => array(
// config for production
)
)
);
?>
Some frameworks (AFAIR Zend) set the environment name in Virtual Host config (or .htaccess). You should look at: zend framework auto switch production staging test .. etc
Have You looked at CI documentation? There's a section about it.