Bug #19420
closedmisc/superadmin.php script does not allow arbitrary TYPO3 install scheme
0%
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