Bug #33896 » index.php.PATCH
index.php | ||
---|---|---|
// Initialize helper objects
|
||
$this->api = t3lib_div::makeInstance('tx_em_API');
|
||
$this->terConnection = t3lib_div::makeInstance('tx_em_Connection_Ter', $this);
|
||
$this->terConnection->wsdlURL = $GLOBALS['TYPO3_CONF_VARS']['EXT']['em_wsdlURL'];
|
||
|
||
// getting settings and setting currently selected repository
|
||
$settings = $this->settings->getSettings();
|
||
$this->MOD_MENU['selectedRepository'] = $settings['selectedRepository'];
|
||
// getting data from selected repository
|
||
$repository = tx_em_Database::getRepositoryByUID( $this->MOD_MENU['selectedRepository'] );
|
||
$this->terConnection->wsdlURL = $repository['wsdl_url'];
|
||
$this->MOD_SETTINGS['mirrorListURL'] = $repository['mirror_url'];
|
||
// needs to be empty so it gets refreshed each time, we don't want old data
|
||
$this->MOD_SETTINGS['extMirrors'] = '';
|
||
|
||
$this->xmlHandler = t3lib_div::makeInstance('tx_em_Tools_XmlHandler');
|
||
$this->xmlHandler->useObsolete = $this->MOD_SETTINGS['display_obsolete'];
|
||
... | ... | |
natsort($versions);
|
||
$version = end($versions);
|
||
}
|
||
$fetchData = $this->terConnection->fetchExtension($extKey, $version, $this->xmlHandler->extensionsXML[$extKey]['versions'][$version]['t3xfilemd5'], $this->getMirrorURL());
|
||
$fetchData = $this->terConnection->fetchExtension($extKey, $version, $this->xmlHandler->extensionsXML[$extKey]['versions'][$version]['t3xfilemd5'], $this->settings->getMirrorURL());
|
||
}
|
||
|
||
// At this point the extension data should be present; so we want to write it to disc:
|
- « Previous
- 1
- 2
- Next »