Project

General

Profile

Actions

Bug #19775

closed

Install Tool send mail does not use global TYPO3_CONF_VARS, XCLASS of htmlmail not working

Added by Axel Klarmann over 15 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2009-01-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

While i was working on the problem with sending mail in the install tool with stoefln_pear_mail i found that the check_mail function does not use the global variable TYPO3_CONF_VARS because of a missing 'global $TYPO3_CONF_VARS;'

The problem occures because the function check_mail in class.tx_install.php around line 1642 does a "require", so the XCLASSing does not work, because the $TYPO3_CONF_VARS is not in global scope.

Fixing was easy by providing the 'global $TYPO3_CONF_VARS;' right after the function header. The XCLASSing was working after this fix

(issue imported from #M10072)

Actions

Also available in: Atom PDF