Project

General

Profile

Actions

Bug #15774

closed

Cannot import extensions to typo3/sysext/

Added by Michael Stucki over 18 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
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

em_fix.diff (755 Bytes) em_fix.diff Administrator Admin, 2006-03-07 22:28
Actions #1

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

Also available in: Atom PDF