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
b9bba411
Commit
b9bba411
authored
Sep 02, 2010
by
Benjamin Eberlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DBAL-46 - Fix Doctrine DBAL Binary
parent
1d1b6163
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
doctrine-dbal.php
bin/doctrine-dbal.php
+3
-3
No files found.
bin/doctrine-dbal.php
View file @
b9bba411
...
@@ -21,16 +21,16 @@ if (file_exists($configFile)) {
...
@@ -21,16 +21,16 @@ if (file_exists($configFile)) {
require
$configFile
;
require
$configFile
;
foreach
(
$GLOBALS
as
$helperSetCandidate
)
{
foreach
(
$GLOBALS
as
$helperSetCandidate
)
{
if
(
$helperSetCandidate
instanceof
\Symfony\Component
s
\Console\Helper\HelperSet
)
{
if
(
$helperSetCandidate
instanceof
\Symfony\Component\Console\Helper\HelperSet
)
{
$helperSet
=
$helperSetCandidate
;
$helperSet
=
$helperSetCandidate
;
break
;
break
;
}
}
}
}
}
}
$helperSet
=
(
$helperSet
)
?:
new
\Symfony\Component
s
\Console\Helper\HelperSet
();
$helperSet
=
(
$helperSet
)
?:
new
\Symfony\Component\Console\Helper\HelperSet
();
$cli
=
new
\Symfony\Component
s
\Console\Application
(
'Doctrine Command Line Interface'
,
Doctrine\DBAL\Version
::
VERSION
);
$cli
=
new
\Symfony\Component\Console\Application
(
'Doctrine Command Line Interface'
,
Doctrine\DBAL\Version
::
VERSION
);
$cli
->
setCatchExceptions
(
true
);
$cli
->
setCatchExceptions
(
true
);
$cli
->
setHelperSet
(
$helperSet
);
$cli
->
setHelperSet
(
$helperSet
);
$cli
->
addCommands
(
array
(
$cli
->
addCommands
(
array
(
...
...
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