Commit 00aa3d12 authored by omega8cc's avatar omega8cc

Set files paths on D8 install to avoid using system default /tmp if path.temporary is not defined.

parent 8eff5c1c
......@@ -150,6 +150,12 @@ function install_main() {
}
_provision_drupal_create_directories();
// Set files paths
\Drupal::config('system.file')
->set('path.private', "sites/$url/private/files")
->set('path.temporary', "sites/$url/private/temp")
->save();
$account = user_load(1);
$onetime = user_pass_reset_url($account);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment