Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
utile:installation_gdtc [2008/11/25 22:08] birdy |
utile:installation_gdtc [2008/11/30 00:18] (Version actuelle) birdy |
||
---|---|---|---|
Ligne 54: | Ligne 54: | ||
session_set_cookie_params ( 0, '/', '.' .DTC_DOMAIN ); | session_set_cookie_params ( 0, '/', '.' .DTC_DOMAIN ); | ||
- | * Modifier include/actor.php et commenter : | + | * (pb identifié de compat code avec PHP5) Modifier include/actor.php et commenter : |
$additional = array_merge ( $additional, list_benevalo ( $id ) ); | $additional = array_merge ( $additional, list_benevalo ( $id ) ); | ||
+ | |||
+ | * OU | ||
+ | * modifier include/benevalo.php et changer return; en return Array(); sur la ligne 65 ? | ||
+ | |||
+ | * Créer fichier de conf : scripts/config.pl | ||
+ | |||
+ | # Domaine | ||
+ | $::domain = 'picnat.in'; | ||
+ | |||
+ | # Réglages mail | ||
+ | $::from = 'gdtc-out@picnat.in'; | ||
+ | $::gdtc_in = 'gdtc-in@picnat.in'; | ||
+ | $::cc = 'adhesion@picnat.in'; | ||
+ | |||
+ | # Utilisateurs sympa | ||
+ | $::sympa_user = "sympa\@$::domain"; | ||
+ | $::listmaster = "listmaster\@$::domain"; | ||
+ | |||
+ | # Mail template dir | ||
+ | $::template_dir = '/var/www/gdtc/templates/mail'; | ||
+ | $::data = '/var/www/gdtc/templates/'; | ||
+ | $::script_path = '/var/www/gdtc-dev.april.org/htdocs/scripts'; | ||
+ | |||
+ | # Fichier de scenario pour la liste blanche april@picnat.in | ||
+ | $::scenario_file = "/etc/sympa/scenari/send.privateorpublickey-april"; | ||
+ | |||
+ | # Log | ||
+ | $::logfile = '/var/www/dtclog/dtcmanager.log'; | ||
+ | |||
+ | # Envoi (ou pas) de mails | ||
+ | $::in_production = 0; | ||
+ | |||
+ | # URL de base | ||
+ | $::dtc_base_url = 'http://adherents.picnat.in'; | ||
+ | |||
+ | # MYSQL | ||
+ | $::mysql_base = 'gdtc'; | ||
+ | $::mysql_server = 'localhost'; | ||
+ | $::mysql_user = 'gdtc'; | ||
+ | $::mysql_password = 'picnat'; | ||
+ | |||
+ | 1; | ||
+ | |||
+ | * Modifier scripts/at_job.sh | ||
+ | |||
+ | base=/var/www/gdtc | ||
+ | validation_membre="$base/scripts/validation_membre.sh" | ||
+ | |||
+ | * Pour obtenir une css cohérente sur le /my il convient d'ajouter les entêtes qui vont bien dans le header.tpl de smarty (gdtc/templates/smarty/my/header.tpl. Pour cela recopier les 10 premieres lignes de gdtc/templates/smarty/admin/header.tpl et ajouter la ligner suivante : | ||
+ | |||
+ | <?xml version="1.0" encoding="utf-8"?> | ||
+ | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | ||
+ | <html xmlns="http://www.w3.org/1999/xhtml"> | ||
+ | <head> | ||
+ | <title>{$title}</title> | ||
+ | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | ||
+ | <link rel="stylesheet" href="{$dtc_admin_host_name}/css/gdtc.css"></link> | ||
+ | <link rel="stylesheet" href="{$dtc_admin_host_name}/css/style.css"></link> | ||
+ | <link rel="stylesheet" href="{$dtc_admin_host_name}/css/messages.css"></link> | ||
+ | <link rel="stylesheet" href="{$dtc_admin_host_name}/css/my.css"></link> | ||
+ | <script type="text/javascript" src="{$dtc_admin_host_name}/javascript/ts_picker.js"></script> | ||
+ | |||