Issue Bug Closed

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

Axel Klarmann 01/07/09, 10:00 updated 10/02/18, 12:30

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.