+2010-05-21 Xavier Perseguers <typo3@perseguers.ch>
+
+ * Follow-up of changeset 32847: DBAL cannot be loaded if typo3conf/ is not writable
+
2010-05-03 Xavier Perseguers <typo3@perseguers.ch>
* Fixed 1-2-3 installer crash when having only mysql available
// Get lines from localconf file
$lines = $instObj->writeToLocalconf_control();
$instObj->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'EXT\'][\'extList\']', $newExtList);
- $instObj->writeToLocalconf_control($lines);
+ $result = $instObj->writeToLocalconf_control($lines);
+ if ($result === 'nochange') {
+ $message = 'DBAL was not loaded.';
+ if (!@is_writable(PATH_typo3conf)) {
+ $message .= ' ' . PATH_typo3conf . ' is not writable!';
+ }
+ throw new Exception($message);
+ }
$GLOBALS['TYPO3_CONF_VARS']['EXT']['extList'] = $newExtList;
// Make sure to get cache file for backend, not frontend