Project

General

Profile

Feature #17887 » patch_20090515-2_#6890.diff

Administrator Admin, 2009-05-15 23:27

View differences:

typo3_src-4.2.6/t3lib/config_default.php 2009-05-15 22:46:55.000000000 +0200
'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/typo3/sysext/cms/tslib/class.tslib_pagegen.php 2009-05-15 22:40:21.000000000 +0200
$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 '.TYPO3_branch.' CMS" />';
<meta name="generator" content="TYPO3 '.$version.' CMS" />';
$conf=$GLOBALS['TSFE']->pSetup['meta.'];
if (is_array($conf)) {
typo3_src-4.2.6/typo3/template.php 2009-05-15 22:39:52.000000000 +0200
* @return string <meta> tag with name "generator"
*/
function generator() {
$str = 'TYPO3 '.TYPO3_branch.', http://typo3.com, &#169; Kasper Sk&#229;rh&#248;j 1998-2008, extensions are copyright of their respective owners.';
$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.';
return '<meta name="generator" content="'.$str .'" />';
}
(2-2/2)