[BUGFIX] impexp links to invalid EM path
authorMarkus Klein <klein.t3@mfc-linz.at>
Fri, 21 Oct 2011 23:59:05 +0000 (18:59 -0500)
committerXavier Perseguers <xavier@typo3.org>
Sat, 22 Oct 2011 17:55:21 +0000 (19:55 +0200)
impexp sysext links to invalid Extension Manager path,
in order to install extension dependencies.

Change-Id: I9e31802b11bf67172cd327dda9be04305cf3620e
Resolves: #31173
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/6186
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/impexp/app/index.php

index fad2cdd..ec28ab9 100755 (executable)
@@ -1275,7 +1275,7 @@ class SC_mod_tools_log_index extends t3lib_SCbase {
                                                unset($passParams['import_file']);
 
                                                $thisScriptUrl = t3lib_div::getIndpEnv('REQUEST_URI').'?M=xMOD_tximpexp&id='.$this->id.t3lib_div::implodeArrayForUrl('tx_impexp',$passParams);
-                                               $emURL = $this->doc->backPath . t3lib_extMgm::extRelPath('em') . 'mod1/index.php?CMD[requestInstallExtensions]=' .
+                                               $emURL = $this->doc->backPath . t3lib_extMgm::extRelPath('em') . 'classes/index.php?CMD[requestInstallExtensions]=' .
                                                        implode(',', $extKeysToInstall) . '&returnUrl=' . rawurlencode($thisScriptUrl);
                                                $extensionInstallationMessage = 'Before you can install this T3D file you need to install the extensions "'.implode('", "',$extKeysToInstall).'". Clicking Import will first take you to the Extension Manager so these dependencies can be resolved.';
                                        }