Skip to content

Instantly share code, notes, and snippets.

@eminetto
Created June 4, 2013 20:28
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 eminetto/5709289 to your computer and use it in GitHub Desktop.
Save eminetto/5709289 to your computer and use it in GitHub Desktop.
<?php
return array(
'db' => array(
'driver' => 'PDO_SQLite',
'dsn' => 'sqlite:data/todo.db',
'driver_options' => array(
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_EMULATE_PREPARES => true
)
),
'service_manager' => array(
'factories' => array(
'Zend\Db\Adapter\Adapter'
=> 'Zend\Db\Adapter\AdapterServiceFactory',
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment