Project

General

Profile

Actions

Bug #19420

closed

misc/superadmin.php script does not allow arbitrary TYPO3 install scheme

Added by Xavier Perseguers over 15 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-10-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When using a configuration such as

$parentDirs = array();
$parentDirs[] = array(
'dir'=> '/var/www/data/domain1.tld/www/',
'url' => 'http://www.domain1.tld/',
);
$parentDirs[] = array(
'dir'=> '/var/www/data/domain2.tld/www/',
'url' => 'http://www.domain2.tld/',
);

the script searches the localconf.php script in all subdirectories of the 'dir' directories, ie. fileadmin, typo3conf, upload, ... and then appends "typo3conf/localconf.php" to find it. This means that it forces the administrator to use a common directory for his TYPO3 install and then install each of the sites in a direct subdirectory.

Attached patch fixes this issue by allowing the configuration file to point to actual root of a TYPO3 website.

(issue imported from #M9492)


Files

superadmin_fixed.diff (679 Bytes) superadmin_fixed.diff Administrator Admin, 2008-10-06 14:19

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #24412: Cleanup: Remove misc/ directory and deprecate t3lib_superadminClosedChristian Kuhn2010-12-25

Actions
Actions #1

Updated by Xavier Perseguers over 15 years ago

This script is "blocking" but not the whole TYPO3 install of course

Actions #2

Updated by Chris topher about 13 years ago

The superadmin script has been removed in #24412.

Resolved.

Actions #3

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF