Commit e6b3fbae authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Merge branch '93-prepare-soap-server-for-the-new-website' into 'develop'

Fix check for TYPO3_CONTEXT as the file itself cannot use TYPO3 classes in the current state

Closes #93

See merge request !110
parents 67a448d7 71a978b4
Pipeline #1687 passed with stages
in 3 minutes and 47 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