Commit ac2d98c1 authored by Michael Stucki's avatar Michael Stucki
Browse files

*** empty log message ***


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@656 709f56b5-9817-0410-a4d7-c38de5d9e867
parent efb3ea6b
2005-04-18 Karsten Dambekalns <karsten@typo3.org>
2005-04-18 Karsten Dambekalns <karsten@typo3.org>
* typo3/file_upload.php: Small fix to fix bug #986, patch by Sebastian Kurfuerst.
* t3lib/class.t3lib_befunc.php, sysext/viewpage/view/index.php: Fix to bug #983, preview when BE uses SSL.
......@@ -48,7 +48,7 @@
* Minor change to spamProtectEmailAddresses ASCII
* Added hook in t3lib_page for additional enableColumns
2005-04-13 Karsten Dambekalns <karsten@typo3.org>
2005-04-13 Karsten Dambekalns <karsten@typo3.org>
* Small fix to fix bug #974.
* Applied some more DBAL patches for indexed search and fixed bug #961.
......
......@@ -3059,19 +3059,19 @@ class t3lib_BEfunc {
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"';
}
// Check if there is still a default user 'admin' with password 'password' (MD5sum = 5f4dcc3b5aa765d61d8327deb882cf99)
// Check if there is still a default user 'admin' with password 'password' (MD5sum = 5f4dcc3b5aa765d61d8327deb882cf99)
$where_clause = 'username='.$GLOBALS['TYPO3_DB']->fullQuoteStr('admin','be_users').' AND password='.$GLOBALS['TYPO3_DB']->fullQuoteStr('5f4dcc3b5aa765d61d8327deb882cf99','be_users').t3lib_BEfunc::deleteClause('be_users');
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('username, password', 'be_users', $where_clause);
if ($GLOBALS['TYPO3_DB']->sql_num_rows($res)) {
$warnings[] = 'The backend user "admin" with password "password" is still existing';
}
// Check if the encryption key is empty
// 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]';
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment