Projet

Général

Profil

Révision 2e9ce399

Ajouté par Julien Enselme il y a plus de 10 ans

d7-all-gen-settings-global.sh

Création. A permit l'utilisation du settings.global.php

Voir les différences:

scripts_divers/d7-all-gen-settings-global.sh
1
#!/bin/sh
2

  
3
. /users/guest/assos/bin/scripts-config.sh
4
. scripts-utils.sh
5

  
6
for dir in `find $d7_dir_sites -maxdepth 1 -mindepth 1 -type d ! -name all` ; do
7
    cd $dir
8
    pwd
9
    chmod 700 settings.php
10
    rm settings.php
11
    cp ../template.settings.php ./settings.php
12
    chmod 400 settings.php
13
done

Formats disponibles : Unified diff