1
0
mirror of synced 2024-12-05 03:06:05 +03:00

[2.0] Fixing sandbox

This commit is contained in:
jwage 2009-05-29 14:46:53 +00:00
parent f4f258ede6
commit a6fbc19927
2 changed files with 3 additions and 3 deletions

View File

@ -1,9 +1,8 @@
<?php
require '../../lib/Doctrine/Common/ClassLoader.php';
$classLoader = new \Doctrine\Common\ClassLoader();
$classLoader->register();
$classLoader->setBasePath('Doctrine', realpath(__DIR__ . '/../../lib'));
$classLoader->setBasePath('Entities', __DIR__);
@ -15,4 +14,4 @@ $connectionOptions = array(
'driver' => 'pdo_sqlite',
'path' => 'database.sqlite'
);
$em = \Doctrine\ORM\EntityManager::create($connectionOptions, 'doctrine', $config, $eventManager);
$em = \Doctrine\ORM\EntityManager::create($connectionOptions, $config, $eventManager);

View File

@ -1,2 +1,3 @@
<?php
require 'config.php';