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

vijaythummar’s picture

You can set variable in your install hook.

something like

variable_set('file_default_scheme', 'private');

Thanks,
Vijay Thummar