Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
extensions.typo3.org
extensions.typo3.org
Commits
71a978b4
Commit
71a978b4
authored
Jul 17, 2017
by
Jens Jacobsen
Browse files
Fix check for TYPO3_CONTEXT as the file itself cannot use TYPO3 classes in the current state
parent
43f8abcb
Pipeline
#1685
passed with stages
in 2 minutes and 59 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
html/typo3conf/ext/ter/tx_ter_wsdl.php
View file @
71a978b4
...
...
@@ -38,7 +38,7 @@ define('TYPO3_mainDir', 'typo3/');
$serviceLocation
=
$_SERVER
[
'HTTP_HOST'
]
.
'index.php?id=ter'
;
$wsdlFileName
=
'tx_ter.wsdl'
;
if
(
\
TYPO3\CMS\Core\Utility\GeneralUtility
::
getApplicationContext
(
)
===
'Production/Stage'
)
{
if
(
getenv
(
'TYPO3_CONTEXT'
)
===
'Production/Stage'
)
{
$wsdlFileName
=
'tx_ter.stage.wsdl'
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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