Commit a6fbc199 authored by jwage's avatar jwage

[2.0] Fixing sandbox

parent f4f258ed
<?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);
\ No newline at end of file
$em = \Doctrine\ORM\EntityManager::create($connectionOptions, $config, $eventManager);
\ No newline at end of file
<?php
require 'config.php';
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment