Skip to content

Instantly share code, notes, and snippets.

@cole007

cole007/db.php Secret

Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cole007/f32c7ba984a3d35b1d24 to your computer and use it in GitHub Desktop.
Save cole007/f32c7ba984a3d35b1d24 to your computer and use it in GitHub Desktop.
Craft multi-environment craft/config.db.php
<?php
/**
* Database Configuration
*
* All of your system's database configuration settings go in here.
* You can see a list of the default settings in craft/app/etc/config/defaults/db.php
*/
return array(
'*' => array(
'tablePrefix' => 'craft',
),
'craft.restorativetechniques.co.uk' => array(
'server' => 'localhost',
'user' => 'root',
'password' => '****',
'database' => '****',
),
'www.restorativetechniques.co.uk' => array(
'server' => 'localhost',
'user' => 'av12345',
'password' => '****',
'database' => '****',
),
'restorative.users41.interdns.co.uk' => array(
'server' => ' mysql.interdns.co.uk',
'user' => 'restorative',
'password' => '****',
'database' => '****',
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment