Skip to content

Instantly share code, notes, and snippets.

@erikreagan
Created August 8, 2011 12:18
Show Gist options
  • Save erikreagan/1131655 to your computer and use it in GitHub Desktop.
Save erikreagan/1131655 to your computer and use it in GitHub Desktop.
Sample config.local.php file from the Focus Lab, LLC Master Config setup for EE2
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Local config overrides & db credentials
*
* Our database credentials and any environment-specific overrides
* This file should be specific to each developer and not tracked in Git
*
* @package Focus Lab Master Config
* @version 1.1
* @author Erik Reagan <erik@focuslabllc.com>
*/
// Local db
$env_db['hostname'] = 'localhost';
$env_db['username'] = '';
$env_db['password'] = '';
$env_db['database'] = '';
// Remote db
// $env_db['hostname'] = 'focuslabllc.com';
// $env_db['username'] = '';
// $env_db['password'] = '';
// $env_db['database'] = '';
// Local testing email address
$config['webmaster_email'] = 'you@localtesting.com';
/* End of file config.local.php */
/* Location: ./config/config.local.php */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment