Commit 71a978b4 authored by Jens Jacobsen's avatar 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
......@@ -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';
}
......
Supports Markdown
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