Project

General

Profile

Feature #17887 » patch_20090515_#6890.diff

Administrator Admin, 2009-05-15 22:52

View differences:

typo3_src-4.2.6.orig/t3lib/config_default.php 2009-02-10 10:36:25.000000000 +0100
'devIPmask' => '127.0.0.1,::1', // Defines a list of IP addresses which will allow development-output to display. The debug() function will use this as a filter. See the function t3lib_div::cmpIP() for details on syntax. Setting this to blank value will deny all. Setting to "*" will allow all.
'sqlDebug' => 0, // Boolean. If set, then database queries that fails are outputted in browser. For development.
'enable_DLOG' => FALSE, // Whether the developer log is enabled. See constant "TYPO3_DLOG"
'disableVersionDisplay' => 1, // Disable the visibility of version in meta tag
'ddmmyy' => 'd-m-y', // Format of Date-Month-Year - see PHP-function date()
'hhmm' => 'H:i', // Format of Hours-Minutes - see PHP-function date()
'USdateFormat' => 0, // Boolean. If true, dates entered in the TCEforms of the backend will be formatted mm-dd-yyyy
typo3_src-4.2.6.orig/typo3/sysext/cms/tslib/class.tslib_pagegen.php 2009-02-10 10:36:51.000000000 +0100
$GLOBALS['TSFE']->content.='
<title>'.htmlspecialchars($titleTagContent).'</title>';
}
$version = ($GLOBALS['TYPO3_CONF_VARS']['SYS']['disableVersionDisplay'] == '1') ? '' : TYPO3_branch;
$GLOBALS['TSFE']->content.='
<meta name="generator" content="TYPO3 '.$version.' CMS" />';
<meta name="generator" content="TYPO3 '.TYPO3_branch.' CMS" />';
$conf=$GLOBALS['TSFE']->pSetup['meta.'];
if (is_array($conf)) {
typo3_src-4.2.6.orig/typo3/template.php 2009-02-10 10:37:06.000000000 +0100
* @return string <meta> tag with name "generator"
*/
function generator() {
$version = ($GLOBALS['TYPO3_CONF_VARS']['SYS']['disableVersionDisplay'] == '1') ? '' : TYPO3_branch;
$str = 'TYPO3 '.$version.', http://typo3.com, &#169; Kasper Sk&#229;rh&#248;j 1998-2008, extensions are copyright of their respective owners.';
$str = 'TYPO3 '.TYPO3_branch.', http://typo3.com, &#169; Kasper Sk&#229;rh&#248;j 1998-2008, extensions are copyright of their respective owners.';
return '<meta name="generator" content="'.$str .'" />';
}
(1-1/2)