if($GLOBALS['BE_USER']->isAdmin()) {
$warnings = array();
- // Check if the Install Tool Password is still default: joh316
+ // Check if the Install Tool Password is still default: joh316
if($GLOBALS['TYPO3_CONF_VARS']['BE']['installToolPassword']==md5('joh316')) {
$warnings[] = 'The password of your Install Tool is still using the default value "joh316"';
}
$warnings[] = 'The backend user "admin" with password "password" is still existing';
}
+ // Check if the encryption key is empty
+ if ($GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey'] == '') {
+ $warnings[] = 'The encryption key is not set! Set it in $TYPO3_CONF_VARS[SYS][encryptionKey]';
+ }
+
if(count($warnings)) {
$content = '<br />'.
'<p class="typo3-red" style="font-weight: bold;">Security warning:<br />'.