Project

General

Profile

Bug #19365 » bug_9407_4-3.diff

Administrator Admin, 2010-10-01 10:15

View differences:

typo3_src-4.3.dev/t3lib/config_default.php (working copy)
'createGroup' => '', // Group for newly created files and folders (Unix only). Group ownership can be changed on Unix file systems (see above). Set this if you want to change the group ownership of created files/folders to a specific group. This makes sense in all cases where the webserver is running with a different user/group as you do. Create a new group on your system and add you and the webserver user to the group. Now you can safely set the last bit in fileCreateMask/folderCreateMask to 0 (e.g. 770). Important: The user who is running your webserver needs to be a member of the group you specify here! Otherwise you might get some error messages.
'warning_email_addr' => '', // Email-address that will receive a warning if there has been failed logins 4 times within an hour (all users).
'warning_mode' => '', // Bit 1: If set, warning_email_addr gets a mail everytime a user logs in. Bit 2: If set, a mail is sent if an ADMIN user logs in! Other bits reserved for future options.
'notify_email_header' => 'From: TYPO3 Login notify <no_reply@no_reply.no_reply>', // Set the email header for the notification mail from the backend
'lockIP' => 4, // Integer (0-4). Session IP locking for backend users. See [FE][lockIP] for details. Default is 4 (which is locking the FULL IP address to session).
'sessionTimeout' => 3600, // Integer, seconds. Session time out for backend users. Default is 3600 seconds = 1 hour.
'IPmaskList' => '', // String. Lets you define a list of IP-numbers (with *-wildcards) that are the ONLY ones allowed access to ANY backend activity. On error an error header is sent and the script exits. Works like IP masking for users configurable through TSconfig. See syntax for that (or look up syntax for the function t3lib_div::cmpIP())
typo3_src-4.3.dev/t3lib/class.t3lib_beuserauth.php (working copy)
*/
function emailAtLogin() {
if ($this->loginSessionStarted) {
/*
* make the notify header configureable
*/
if(!empty($GLOBALS['TYPO3_CONF_VARS']['BE']['notify_email_header'])) {
$this->notifyHeader = $GLOBALS['TYPO3_CONF_VARS']['BE']['notify_email_header'];
}
// Send notify-mail
$subject = 'At "'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['sitename'].'"'.
' from '.t3lib_div::getIndpEnv('REMOTE_ADDR').
(1-1/4)