Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
a6fbc199
Commit
a6fbc199
authored
May 29, 2009
by
jwage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Fixing sandbox
parent
f4f258ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
config.php
tools/sandbox/config.php
+2
-3
index.php
tools/sandbox/index.php
+1
-0
No files found.
tools/sandbox/config.php
View file @
a6fbc199
<?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
tools/sandbox/index.php
View file @
a6fbc199
<?php
require
'config.php'
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment