Index: t3lib/config_default.php =================================================================== --- t3lib/config_default.php (Revision 8202) +++ t3lib/config_default.php (Arbeitskopie) @@ -430,6 +430,7 @@ define('TYPO3_db_host', $typo_db_host); define('TYPO3_tables_script', $typo_db_tables_script); define('TYPO3_extTableDef_script', $typo_db_extTableDef_script); +define('TYPO3_installToolPassword', $GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword']); // Defining backend system languages // When adding new keys, remember to: Index: t3lib/class.t3lib_befunc.php =================================================================== --- t3lib/class.t3lib_befunc.php (Revision 8202) +++ t3lib/class.t3lib_befunc.php (Arbeitskopie) @@ -4167,7 +4167,7 @@ } // Check if the Install Tool Password is still default: joh316 - if ($GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword']==md5('joh316')) { + if (TYPO3_installToolPassword == md5('joh316')) { $url = 'install/index.php?redirect_url=index.php'.urlencode('?TYPO3_INSTALL[type]=about'); $warnings["install_password"] = sprintf( $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.install_password'), Index: typo3/sysext/reports/reports/status/class.tx_reports_reports_status_securitystatus.php =================================================================== --- typo3/sysext/reports/reports/status/class.tx_reports_reports_status_securitystatus.php (Revision 8202) +++ typo3/sysext/reports/reports/status/class.tx_reports_reports_status_securitystatus.php (Arbeitskopie) @@ -214,7 +214,7 @@ $message = ''; $severity = tx_reports_reports_status_Status::OK; - if ($GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] == md5('joh316')) { + if (TYPO3_installToolPassword == md5('joh316')) { $value = $GLOBALS['LANG']->getLL('status_insecure'); $severity = tx_reports_reports_status_Status::ERROR; Index: typo3/sysext/install/mod/class.tx_install.php =================================================================== --- typo3/sysext/install/mod/class.tx_install.php (Revision 8202) +++ typo3/sysext/install/mod/class.tx_install.php (Arbeitskopie) @@ -244,7 +244,9 @@ function tx_install() { parent::t3lib_install(); - if (!$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword']) die("Install Tool deactivated.
You must enable it by setting a password in typo3conf/localconf.php. If you insert the line below, the password will be 'joh316':

\$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';"); + if (!defined('TYPO3_installToolPassword') || TYPO3_installToolPassword == '') { + die("Install Tool deactivated.
You must enable it by setting a password in typo3conf/localconf.php. If you insert the line below, the password will be 'joh316':

\$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';"); + } if ($this->sendNoCacheHeaders) { header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); @@ -361,7 +363,7 @@ function checkPassword() { $p = t3lib_div::_GP('password'); - if ($p && md5($p)==$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword']) { + if ($p && md5($p) == TYPO3_installToolPassword) { $this->session->setAuthorized(); // Sending warning email Index: typo3/sysext/install/mod/class.tx_install_session.php =================================================================== --- typo3/sysext/install/mod/class.tx_install_session.php (Revision 8202) +++ typo3/sysext/install/mod/class.tx_install_session.php (Arbeitskopie) @@ -129,10 +129,7 @@ private function getSessionSavePath() { return sprintf( $this->typo3tempPath . '/' . $this->sessionPath, - md5( - 'session:' . - $GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'] - ) + md5('session:' . TYPO3_installToolPassword) ); } @@ -202,7 +199,7 @@ if (!$sessionId) { $sessionId = $this->getSessionId(); } - return md5($GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'].'|'.$sessionId); + return md5(TYPO3_installToolPassword . '|' . $sessionId); } /**