Changeset 10419 for extensions/Mail_supervisor/maintain.inc.php
- Timestamp:
- Apr 16, 2011, 3:53:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Mail_supervisor/maintain.inc.php
r9702 r10419 24 24 if (!defined('MAIL_SUPERV_PATH')) define('MAIL_SUPERV_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); 25 25 include_once (MAIL_SUPERV_PATH.'include/constants.php'); 26 26 27 27 function plugin_install(){ 28 28 global $conf ; … … 33 33 $my_para['check_header_text']="on"; 34 34 $my_para['no_mail_list']="on"; 35 $my_para['no_connect']="off"; 36 $my_para['set_auto']="on"; // Test a l'ouverture et enregistrement37 $my_para['ip']="127.0.0.1"; 38 $my_para['set_id']="on"; // enregistrment nouvel35 $my_para['no_connect']="off"; // empeche l'ip de se connecter au site. 36 $my_para['set_auto']="on"; // Test a l'ouverture et enregistrement 37 $my_para['ip']="127.0.0.1"; // dernièrre adresse IP 38 $my_para['set_id']="on"; // enregistrment nouvel 39 39 $mails_values= addslashes(serialize($my_para)); 40 40 $query = 'INSERT INTO '.CONFIG_TABLE.' (param, value, comment) 41 41 VALUES ("mail_superv", "'.$mails_values.'" ,"Parametres du plugin Mail superviseur");'; 42 42 pwg_query($query); 43 } 43 } 44 44 } 45 45 function plugin_uninstall(){ … … 50 50 pwg_query($query); 51 51 $query = 'DROP TABLE IF EXISTS '.MAIL_BLACK_LISTE_TABLE.';'; 52 pwg_query( $query ); 52 pwg_query( $query ); 53 53 $query = 'DROP TABLE IF EXISTS '.mail_superv_TABLE.';'; 54 pwg_query( $query); 54 pwg_query( $query); 55 55 } 56 56 57 57 function plugin_activate(){ 58 include_once (MAIL_SUPERV_PATH.'include/fonctions.php'); 58 include_once (MAIL_SUPERV_PATH.'include/fonctions.php'); 59 59 verif_base() ; 60 60 }
Note: See TracChangeset
for help on using the changeset viewer.