Issue Bug Closed

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

Xavier Perseguers 10/06/08, 14:10 updated 10/02/18, 12:29

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.