changeset 541 | e756a8c72c3d |
540:07239de796bb | 541:e756a8c72c3d |
---|---|
1 <?php |
|
2 |
|
3 /** |
|
4 * @file |
|
5 * Install, update and uninstall functions for the openid_test module. |
|
6 */ |
|
7 |
|
8 /** |
|
9 * Implements hook_install(). |
|
10 */ |
|
11 function openid_test_install() { |
|
12 module_load_include('inc', 'openid'); |
|
13 // Generate a MAC key (Message Authentication Code) used for signing messages. |
|
14 // The variable is base64-encoded, because variables cannot contain non-UTF-8 |
|
15 // data. |
|
16 variable_set('openid_test_mac_key', drupal_random_key(20)); |
|
17 } |