diff options
Diffstat (limited to 'appli_3_alpha_old/include/ludo/mail_textarea.php')
-rw-r--r-- | appli_3_alpha_old/include/ludo/mail_textarea.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/appli_3_alpha_old/include/ludo/mail_textarea.php b/appli_3_alpha_old/include/ludo/mail_textarea.php index 58292d6..d90c83b 100644 --- a/appli_3_alpha_old/include/ludo/mail_textarea.php +++ b/appli_3_alpha_old/include/ludo/mail_textarea.php @@ -1,15 +1,18 @@ <?php require_once('session_verify.inc.php'); include('config.inc.php'); -require_once('/home/lud/shares/public_html/awor/appli_3_alpha/include/connect.inc.php'); +//~ require_once('/home/lud/shares/public_html/awor/appli_3_alpha/include/connect.inc.php'); + +//include('include/connect.inc.php'); if ( isset($_GET['model']) ) { $model=$_GET['model']; } else { $model='empty'; } ?> -<textarea name="msgText"> +<textarea name="msgText" cols="80" rows="8"> <?php if ( $model != 'empty') { + include('../connect.inc.php'); if ( ! isset($CONFIG['MAIL']['TEMPLATES'][$model]['tpl_file']) ) { echo 'Désolé, modèle indisponible...'; |