Project

General

Profile

Bug #14655 » returnmail.phpsh.patch

Administrator Admin, 2005-04-13 14:06

View differences:

mod/returnmail.phpsh 13 Apr 2005 11:59:58 -0000
if (substr($dir,strlen(PATH_site))!="typo3/ext/direct_mail/mod") {
die("Wrong path... This '".substr($dir,strlen(PATH_site))."' should be the last part of '".$dir."'");
}
require(PATH_t3lib."class.t3lib_div.php");
require(PATH_t3lib."class.t3lib_extmgm.php");
require_once(PATH_t3lib."class.t3lib_div.php");
require_once(PATH_t3lib."class.t3lib_extmgm.php");
require(PATH_t3lib."config_default.php");
if (!defined ("TYPO3_db")) die ("The configuration file was not included.");
require(PATH_t3lib.'class.t3lib_db.php'); // The database library
require_once(PATH_t3lib.'class.t3lib_db.php'); // The database library
$TYPO3_DB = t3lib_div::makeInstance('t3lib_DB');
require_once (PATH_t3lib."class.t3lib_readmail.php");
require_once_once (PATH_t3lib."class.t3lib_readmail.php");
// Connect to the database
$result = $GLOBALS['TYPO3_DB']->sql_pconnect(TYPO3_db_host, TYPO3_db_username, TYPO3_db_password);
(4-4/4)