Commit a16478e2 authored by Georg Ringer's avatar Georg Ringer Committed by Andreas Fernandez
Browse files

[TASK] Check for typo3/ext only if global installation is allowed

Since the change of #67824 the directory typo3/ext is not created
automatically. The check for this directory in the Install Tool,
which is also shown in the reports module, should only be shown
if $GLOBALS['TYPO3_CONF_VARS']['EXT']['allowGlobalInstall'] is
set.

Change-Id: I6d004ac8c8a76d806d74db4622e7967424db4b2e
Resolves: #68196
Releases: master
Reviewed-on: http://review.typo3.org/41391


Reviewed-by: default avatarDavid Greiner <hallo@davidgreiner.de>
Reviewed-by: default avatarSusanne Moog <typo3@susannemoog.de>
Tested-by: default avatarSusanne Moog <typo3@susannemoog.de>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <typo3@scripting-base.de>
parent bf01303f
......@@ -69,13 +69,17 @@ class InstallStatusReport implements \TYPO3\CMS\Reports\StatusProviderInterface
'typo3conf/' => 2,
'typo3conf/ext/' => 0,
'typo3conf/l10n/' => 0,
TYPO3_mainDir . 'ext/' => -1,
'uploads/' => 2,
'uploads/pics/' => 0,
'uploads/media/' => 0,
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] => -1,
$GLOBALS['TYPO3_CONF_VARS']['BE']['fileadminDir'] . '_temp_/' => 0,
);
if ($GLOBALS['TYPO3_CONF_VARS']['EXT']['allowGlobalInstall']) {
$checkWritable[TYPO3_mainDir . 'ext/'] = -1;
}
foreach ($checkWritable as $relPath => $requirementLevel) {
if (!@is_dir(PATH_site . $relPath)) {
// If the directory is missing, try to create it
......
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