Index: typo3/sysext/install/mod/class.tx_install.php =================================================================== RCS file: /cvsroot/typo3/TYPO3core/typo3/sysext/install/mod/class.tx_install.php,v retrieving revision 1.42 diff -u -r1.42 class.tx_install.php --- typo3/sysext/install/mod/class.tx_install.php 28 Dec 2005 00:49:11 -0000 1.42 +++ typo3/sysext/install/mod/class.tx_install.php 18 Jan 2006 22:26:24 -0000 @@ -1335,7 +1335,7 @@ if (t3lib_div::_GP("installToolPassword_md5")) $value =md5($value); } else $doit=0; } - if ($doit && strcmp($GLOBALS["TYPO3_CONF_VARS"][$k][$vk],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["'.$k.'"]["'.$vk.'"]', $value); + if ($doit && strcmp($GLOBALS["TYPO3_CONF_VARS"][$k][$vk],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\''.$k.'\'][\''.$vk.'\']', $value); } } } @@ -2121,29 +2121,29 @@ } else $this->messages[]= $errorMessages[] = "Database name '".$value."' was longer than 50 chars (...not saved)"; break; case "disable_exec_function": - if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["BE"]["disable_exec_function"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["BE"]["disable_exec_function"]', $value?1:0); + if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["BE"]["disable_exec_function"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'BE\'][\'disable_exec_function\']', $value?1:0); break; case "sitename": - if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["SYS"]["sitename"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["SYS"]["sitename"]', $value); + if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["SYS"]["sitename"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'SYS\'][\'sitename\']', $value); break; case "encryptionKey": - if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["SYS"]["encryptionKey"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["SYS"]["encryptionKey"]', $value); + if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["SYS"]["encryptionKey"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'SYS\'][\'encryptionKey\']', $value); case "compat_version": - if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["SYS"]["compat_version"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["SYS"]["compat_version"]', $value); + if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["SYS"]["compat_version"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'SYS\'][\'compat_version\']', $value); break; case "im_combine_filename": - if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["GFX"]["im_combine_filename"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["GFX"]["im_combine_filename"]', $value); + if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["GFX"]["im_combine_filename"],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'GFX\'][\'im_combine_filename\']', $value); break; case "gdlib": case "gdlib_png": case "im": - if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["GFX"][$key],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["GFX"]["'.$key.'"]', $value?1:0); + if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["GFX"][$key],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'GFX\'][\''.$key.'\']', $value?1:0); break; case "im_path": list($value,$version) = explode("|",$value); if (!ereg("[[:space:]]",$value,$reg) && strlen($value)<100) { if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["GFX"][$key],$value)) { - $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["GFX"]["'.$key.'"]', $value); + $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'GFX\'][\''.$key.'\']', $value); } if(doubleval($version)>0 && doubleval($version)<4) { // Assume GraphicsMagick $value_ext = 'gm'; @@ -2153,19 +2153,19 @@ $value_ext = 1; } if (strcmp(strtolower($GLOBALS['TYPO3_CONF_VARS']['GFX']['im_version_5']),$value_ext)) { - $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["GFX"]["im_version_5"]', $value_ext); + $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'GFX\'][\'im_version_5\']', $value_ext); } - // if (strcmp(strtolower($GLOBALS['TYPO3_CONF_VARS']['GFX']['im_version_5']),$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["GFX"]["im_version_5"]', $value); + // if (strcmp(strtolower($GLOBALS['TYPO3_CONF_VARS']['GFX']['im_version_5']),$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'GFX\'][\'im_version_5\']', $value); } else $this->messages[]= $errorMessages[] = "Path '".$value."' contains spaces or is longer than 100 chars (...not saved)"; break; case "im_path_lzw": list($value) = explode("|",$value); if (!ereg("[[:space:]]",$value) && strlen($value)<100) { - if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["GFX"][$key],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["GFX"]["'.$key.'"]', $value); + if (strcmp($GLOBALS["TYPO3_CONF_VARS"]["GFX"][$key],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'GFX\'][\''.$key.'\']', $value); } else $this->messages[]= $errorMessages[] = "Path '".$value."' contains spaces or is longer than 100 chars (...not saved)"; break; case 'TTFdpi': - if (strcmp($GLOBALS['TYPO3_CONF_VARS']['GFX']['TTFdpi'],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS["GFX"]["TTFdpi"]', $value); + if (strcmp($GLOBALS['TYPO3_CONF_VARS']['GFX']['TTFdpi'],$value)) $this->setValueInLocalconfFile($lines, '$TYPO3_CONF_VARS[\'GFX\'][\'TTFdpi\']', $value); break; } Index: typo3/sysext/install/updates/class.tx_coreupdates_compatversion.php =================================================================== RCS file: /cvsroot/typo3/TYPO3core/typo3/sysext/install/updates/class.tx_coreupdates_compatversion.php,v retrieving revision 1.1 diff -u -r1.1 class.tx_coreupdates_compatversion.php --- typo3/sysext/install/updates/class.tx_coreupdates_compatversion.php 26 Dec 2005 23:59:37 -0000 1.1 +++ typo3/sysext/install/updates/class.tx_coreupdates_compatversion.php 18 Jan 2006 22:26:25 -0000 @@ -114,7 +114,7 @@ $linesArr = $this->pObj->writeToLocalconf_control(); $version = $this->userInput['version']?$this->userInput['version']:TYPO3_version; - $this->pObj->setValueInLocalconfFile($linesArr, '$TYPO3_CONF_VARS["SYS"]["compat_version"]', $version); + $this->pObj->setValueInLocalconfFile($linesArr, '$TYPO3_CONF_VARS[\'SYS\'][\'compat_version\']', $version); $this->pObj->writeToLocalconf_control($linesArr,0); $customMessages .= ' The compatibility version has been set to '.$version.'.';