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
90d28839
Commit
90d28839
authored
Mar 17, 2010
by
jwage
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Fixing cli-config.php in sandbox to register autoloader for Yaml component
parent
e6a4985e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cli-config.php
tools/sandbox/cli-config.php
+3
-0
No files found.
tools/sandbox/cli-config.php
View file @
90d28839
...
@@ -22,6 +22,9 @@ $classLoader->register();
...
@@ -22,6 +22,9 @@ $classLoader->register();
$classLoader
=
new
\Doctrine\Common\ClassLoader
(
'Proxies'
,
__DIR__
);
$classLoader
=
new
\Doctrine\Common\ClassLoader
(
'Proxies'
,
__DIR__
);
$classLoader
->
register
();
$classLoader
->
register
();
$classLoader
=
new
\Doctrine\Common\ClassLoader
(
'Symfony'
,
__DIR__
.
'/../../lib/vendor'
);
$classLoader
->
register
();
$config
=
new
\Doctrine\ORM\Configuration
();
$config
=
new
\Doctrine\ORM\Configuration
();
$config
->
setMetadataCacheImpl
(
new
\Doctrine\Common\Cache\ArrayCache
);
$config
->
setMetadataCacheImpl
(
new
\Doctrine\Common\Cache\ArrayCache
);
$config
->
setProxyDir
(
__DIR__
.
'/Proxies'
);
$config
->
setProxyDir
(
__DIR__
.
'/Proxies'
);
...
...
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