From 77bf0066f7a5594de2fea978a2e1df5bdb57ed6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Wed, 22 Jul 2020 09:20:52 -0400 Subject: [PATCH] Dasable install new module link --- tools/creating-new-drutopia-site.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/creating-new-drutopia-site.md b/tools/creating-new-drutopia-site.md index e70fab0..b0456ab 100644 --- a/tools/creating-new-drutopia-site.md +++ b/tools/creating-new-drutopia-site.md @@ -100,7 +100,13 @@ Drutopia releases will expect the configuration in `$project_root/config/sync`. $settings['config_sync_directory'] = '../config/sync'; ``` -(This should be updated to use a distribution-wide settings.php when we have that.) +While in `web/sites/default/settings.php` also prevent site administrators being told they can install new modules when they can't and add: + +```php +$conf['allow_authorize_operations'] = FALSE; +``` + +(All this should be updated to use a distribution-wide settings.php when we have that.) Once you also have a working Drush installation and a live instance, you can then aquire and export the initial configuration with: