Actions
Bug #15774
closedCannot import extensions to typo3/sysext/
Status:
Closed
Priority:
Should have
Assignee:
Category:
Extension Manager
Target version:
-
Start date:
2006-03-07
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
I have set
$TYPO3_CONF_VARS['EXT']['em_systemInstall'] = '1';
but when trying to import an extension from my harddisk to sysext, that fails.
The reason seems to be that there is a hardcoded check that only accepts local or global installations.
The attached patch fixes the problem, although I am pretty sure that there was a reason for that strcmp() call.
(issue imported from #M2785)
Files
Updated by Karsten Dambekalns over 18 years ago
I think there was a reason, but it is from a pre-sysext time. This check only works of the overwrite flag has not been set (and is only to determine if the ext is already installed), so the strcmp obviously is only in place to force a sane default ('L') if nothing else is given. I'll just add a check for 'G' and 'S'.
Actions