Pièce jointe « config-defaults.php.patch »

Téléchargement

   1 --- config-defaults.php.orig	2015-02-12 14:04:35.680547616 -0500
   2 +++ config-defaults.php	2015-02-12 14:10:21.276535650 -0500
   3 @@ -197,14 +197,21 @@
   4  // You can use any external DB in order to fill the profile for the user_name passed as the first parameter
   5  // A dummy example for the 'hook_get_auth_webserver_profile' function is given below:
   6  //
   7 -//function hook_get_auth_webserver_profile($user_name)
   8 -//{
   9 -//	return Array(
  10 -//			'full_name' => '$user_name',
  11 -//			'email' => "$user_name@localdomain.org",
  12 -//			'lang' => 'en',
  13 -//			'htmleditormode' => 'inline');
  14 -//}
  15 +function hook_get_auth_webserver_profile($user_name)
  16 +{
  17 +      return Array(
  18 +                        'full_name' => getenv("MELLON_gn")." ".getenv("MELLON_sn"),
  19 +                        'email' => getenv("MELLON_mail"),
  20 +                        'lang' => 'fr',
  21 +                        'create_survey' => 1,
  22 +                        'create_user' => 0,
  23 +                        'delete_user' => 0,
  24 +                        'superadmin' => 0,
  25 +                        'configurator' =>0,
  26 +                        'manage_template' => 0,
  27 +                        'manage_label' => 0,
  28 +                        );
  29 +}
  30  
  31  
  32  // filterxsshtml

Fichiers joints

Pour vous référer aux pièces jointes d'une page, utilisez attachment:filename, comme indiqué ci-dessous dans la liste de fichiers. N'utilisez pas l'URL du lien [get], car elle peut changer et donc être facilement cassée.
  • [télécharger | voir] (2015-02-20 21:44:22, 1.0 KB) [[attachment:Authwebserver.php.patch]]
  • [télécharger | voir] (2015-02-16 16:02:42, 86.4 KB) [[attachment:auf2014.zip]]
  • [télécharger | voir] (2015-02-20 21:45:02, 1.2 KB) [[attachment:config-defaults.php.patch]]
  • [télécharger | voir] (2015-02-20 21:44:48, 0.7 KB) [[attachment:config.php.patch]]
  • [télécharger | voir] (2015-02-20 21:45:11, 1.1 KB) [[attachment:login.php.patch]]
  • [télécharger | voir] (2015-02-20 21:45:24, 1.4 KB) [[attachment:sondages.auf.org-ssl.patch]]
 All files | Selected Files: delete move to page copy to page

Vous n'êtes pas autorisé à joindre un fichier à cette page.