2016-04-03 13:10:16 +00:00
|
|
|
<?php
|
|
|
|
$serviceContainer = \Propel\Runtime\Propel::getServiceContainer();
|
|
|
|
$serviceContainer->checkVersion('2.0.0-dev');
|
|
|
|
$serviceContainer->setAdapterClass('default', 'sqlite');
|
|
|
|
$manager = new \Propel\Runtime\Connection\ConnectionManagerSingle();
|
|
|
|
$manager->setConfiguration(array (
|
|
|
|
'dsn' => 'sqlite:storage/db.sqlite',
|
2016-06-15 09:25:37 +00:00
|
|
|
'user' => '',
|
|
|
|
'password' => '',
|
2016-04-03 13:10:16 +00:00
|
|
|
'settings' =>
|
|
|
|
array (
|
|
|
|
'charset' => 'utf8',
|
|
|
|
'queries' =>
|
|
|
|
array (
|
|
|
|
),
|
|
|
|
),
|
|
|
|
'classname' => '\\Propel\\Runtime\\Connection\\ConnectionWrapper',
|
|
|
|
));
|
|
|
|
$manager->setName('default');
|
|
|
|
$serviceContainer->setConnectionManager('default', $manager);
|
|
|
|
$serviceContainer->setDefaultDatasource('default');
|