Project

General

Profile

Bug #22876 » 14719.diff

Administrator Admin, 2010-06-14 19:00

View differences:

typo3/sysext/cms/tslib/class.tslib_fe.php (working copy)
if ($link !== FALSE) {
if (!TYPO3_db) {
$this->printError('No database selected','Database Error');
// Allow temporary access to 1-2-3 mode in Install Tool
touch(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
t3lib_div::fixPermissions(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
// Redirects to the Install Tool:
echo '<script type="text/javascript">
/*<![CDATA[*/
......
}
} else {
if (!TYPO3_db) {
// Allow temporary access to 1-2-3 mode in Install Tool
touch(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
t3lib_div::fixPermissions(PATH_typo3conf . 'ENABLE_INSTALL_TOOL');
// Redirects to the Install Tool:
echo '<script type="text/javascript">
/*<![CDATA[*/
(1-1/2)