Feature #23050 » 14935_trunk.patch
t3lib/config_default.php (Arbeitskopie) | ||
---|---|---|
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:
|
t3lib/class.t3lib_befunc.php (Arbeitskopie) | ||
---|---|---|
}
|
||
// 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'),
|
typo3/sysext/reports/reports/status/class.tx_reports_reports_status_securitystatus.php (Arbeitskopie) | ||
---|---|---|
$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;
|
||
typo3/sysext/install/mod/class.tx_install.php (Arbeitskopie) | ||
---|---|---|
function tx_install() {
|
||
parent::t3lib_install();
|
||
if (!$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword']) die("Install Tool deactivated.<br />You must enable it by setting a password in typo3conf/localconf.php. If you insert the line below, the password will be 'joh316':<br /><br />\$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';");
|
||
if (!defined('TYPO3_installToolPassword') || TYPO3_installToolPassword == '') {
|
||
die("Install Tool deactivated.<br />You must enable it by setting a password in typo3conf/localconf.php. If you insert the line below, the password will be 'joh316':<br /><br />\$TYPO3_CONF_VARS['BE']['installToolPassword'] = 'bacb98acf97e0b6112b1d1b650b84971';");
|
||
}
|
||
if ($this->sendNoCacheHeaders) {
|
||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||
... | ... | |
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
|
typo3/sysext/install/mod/class.tx_install_session.php (Arbeitskopie) | ||
---|---|---|
private function getSessionSavePath() {
|
||
return sprintf(
|
||
$this->typo3tempPath . '/' . $this->sessionPath,
|
||
md5(
|
||
'session:' .
|
||
$GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword']
|
||
)
|
||
md5('session:' . TYPO3_installToolPassword)
|
||
);
|
||
}
|
||
... | ... | |
if (!$sessionId) {
|
||
$sessionId = $this->getSessionId();
|
||
}
|
||
return md5($GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword'].'|'.$sessionId);
|
||
return md5(TYPO3_installToolPassword . '|' . $sessionId);
|
||
}
|
||
/**
|