[TYPO3-core] RFC #9492: misc/superadmin.php script does not allow arbitrary TYPO3 install scheme
Xavier Perseguers
typo3 at perseguers.ch
Mon Oct 6 14:15:41 CEST 2008
Hi!
This is SVN patch request.
Type: bug
Branches: trunk, 4.2, 4.1
BT reference: http://bugs.typo3.org/view.php?id=9492
Problem: 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.
Solution: the attached patch contains code that allows the configuration
file to point to actual root of a TYPO3 website.
Note: Sorry, I did not pay attention to the critical stuff and mis-chose
"block". That's of course not as bad as this.
Cheers
--
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: superadmin.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081006/60d6fc72/attachment.txt
More information about the TYPO3-team-core
mailing list