From 5f48d2641bd6a07a4a09f76c0a46fc7e7d7fc246 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Fri, 8 Jul 2016 20:47:02 +0200 Subject: [PATCH] mod_http_upload_quota: Depend on mod_http_upload mod_http_upload_quota uses mod_http_upload's "docroot" option, so the mod_http_upload configuration must be parsed, first. Fixes #1025. --- src/mod_http_upload_quota.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_http_upload_quota.erl b/src/mod_http_upload_quota.erl index d2eca8b72..35e266ddf 100644 --- a/src/mod_http_upload_quota.erl +++ b/src/mod_http_upload_quota.erl @@ -113,7 +113,7 @@ mod_opt_type(_) -> -spec depends(binary(), gen_mod:opts()) -> [{module(), hard | soft}]. depends(_Host, _Opts) -> - []. + [{mod_http_upload, hard}]. %%-------------------------------------------------------------------- %% gen_server callbacks.