Minor change (fix wrong HTML tag introduced by revision 3795)
authorMichael Stucki <michael.stucki@typo3.org>
Wed, 11 Jun 2008 07:52:43 +0000 (07:52 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Wed, 11 Jun 2008 07:52:43 +0000 (07:52 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3807 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_befunc.php

index 16b9212..26b4c2f 100755 (executable)
@@ -3926,16 +3926,17 @@ final class t3lib_BEfunc {
                                        '<a href="'.$url.'">',
                                        '</a>');
                        }
-                       
+
                                // Check if fileDenyPattern was changed which is dangerous on Apache
                        if ($GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'] != FILE_DENY_PATTERN_DEFAULT ) {
-                               $warnings["file_deny_pattern"] = sprintf(
+                               $warnings['file_deny_pattern'] = sprintf(
                                        $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.file_deny_pattern'),
-                                       '</br><pre>'.htmlspecialchars(FILE_DENY_PATTERN_DEFAULT).'</pre></br>');
+                                       '<br /><pre>'.htmlspecialchars(FILE_DENY_PATTERN_DEFAULT).'</pre><br />');
                        }
+
                                // Check if fileDenyPattern allows to upload .htaccess files which is dangerous on Apache
                        if ($GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'] != FILE_DENY_PATTERN_DEFAULT && t3lib_div::verifyFilenameAgainstDenyPattern(".htaccess"))      {
-                               $warnings["file_deny_htaccess"] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.file_deny_htaccess');
+                               $warnings['file_deny_htaccess'] = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.file_deny_htaccess');
                        }
 
                                // Check if there are still updates to perform