- Timestamp:
- Sep 5, 2009, 11:37:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/include/functions_UserAdvManager.inc.php
r3742 r3826 1 1 <?php 2 2 include_once (NBC_UserAdvManager_PATH.'include/constants.php'); 3 include_once (NBC_UserAdvManager_PATH.'include/functions_UserAdvManager.inc.php');4 3 load_language('plugin.lang', NBC_UserAdvManager_PATH); 5 4 … … 64 63 'content' => (isset($infos1) ? $infos1_perso.l10n_args($infos1)."\n\n" : "").(isset($infos2) ? $infos2_perso.l10n_args($infos2)."\n\n" : "").get_absolute_root_url(), 65 64 )); 66 } 67 65 66 /* ********************** */ 67 /* Email sending debugger */ 68 /* This is only to trace */ 69 /* the send of emails for */ 70 /* debugging */ 71 /* ********************** */ 72 MailLog($email,$subject); 73 /* ********************** */ 74 75 } 76 77 /* Email sending debugger function */ 78 function MailLog ($to, $subject) 79 { 80 $fo=fopen (NBC_UserAdvManager_PATH.'admin/maillog.txt','a') ; 81 fwrite($fo,"======================\n") ; 82 fwrite($fo,'le ' . date('D, d M Y H:i:s') . "\r\n"); 83 fwrite($fo,$to . "\n" . $subject . "\r\n") ; 84 fclose($fo) ; 85 //return mail ($to,$subject) ; 86 } 68 87 69 88
Note: See TracChangeset
for help on using the changeset viewer.