1
|
#!/bin/sh
|
2
|
PATH=/usr/local/bin:/usr/bin:/bin
|
3
|
|
4
|
|
5
|
##############
|
6
|
# nlehuby - 20 mai 2012
|
7
|
# ce script permet d'initialiser un certain nombre de variables et configurations.
|
8
|
# Plus d'info : http://ginfo.centrale-marseille.fr/wiki/index.php?title=Utilisation_de_Drupal_multi-site#M.C3.A9thode_Drupal_7
|
9
|
##############
|
10
|
|
11
|
drush php-eval variable_set\(\'allow_authorize_operations\',FALSE\)\;
|
12
|
drush vset --always-set reverse_proxy TRUE
|
13
|
drush vset --always-set --format=json reverse_proxy_addresses '["147.94.19.16","147.94.19.17"]'
|
14
|
drush ev "variable_set('update_notify_emails', array('assos@centrale-marseille.fr'));"
|
15
|
drush vset error_level 0
|
16
|
|