root / other-scripts / d7-all-gen-settings-global.sh @ 1fbc61c9
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 |