Skip to content

Instantly share code, notes, and snippets.

@insidegui
Created April 25, 2011 13:50
Show Gist options
  • Save insidegui/940536 to your computer and use it in GitHub Desktop.
Save insidegui/940536 to your computer and use it in GitHub Desktop.
<?php
Config::write("database", array(
"development" => array(
"driver" => "mysql",
"host" => "localhost",
"user" => "root",
"password" => "",
"database" => "nome_do_banco",
"prefix" => "",
"charset" => "utf8"
),
"production" => array(
"driver" => "mysql",
"host" => "host_producao",
"user" => "user_producao",
"password" => "senha_producao",
"database" => "nome_do_banco_producao",
"prefix" => "",
"charset" => "utf8"
)
));
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment