Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By robert13 on
Hello,
I hope to be in the good section...
Is there a way to set by default the private file path and activate it when we reinstall the website?
I would like to use a custom module that i made to save other configurations.
Thank you
Comments
You can set variable in your
You can set variable in your install hook.
something like
variable_set('file_default_scheme', 'private');
Thanks,
Vijay Thummar