Skip to content

Instantly share code, notes, and snippets.

@f
Created February 9, 2011 20:22
Show Gist options
  • Save f/819198 to your computer and use it in GitHub Desktop.
Save f/819198 to your computer and use it in GitHub Desktop.
<?php
namespace Application;
class Configuration extends \Library\Configuration {
public function configDevelopment()
{
$this->registry->set('database.connector', 'MySQL');
$this->registry->set('database.settings', array(
'driver' => 'pdo_mysql',
'host' => 'localhost',
'dbname' => 'test',
'user' => 'root',
'password' => 'root'
));
}
public function configStage()
{
}
public function configProduction()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment