Skip to content

Instantly share code, notes, and snippets.

@iamcarrico
Created November 30, 2012 04:17
Show Gist options
  • Save iamcarrico/4173741 to your computer and use it in GitHub Desktop.
Save iamcarrico/4173741 to your computer and use it in GitHub Desktop.
A local settings file for your db info
<?php
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'db_name',
'username' => 'db_pass',
'password' => 'db_password',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment