From 3fcae66881bfb81f8aa79ad5b57784faec88c695 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sat, 12 Jan 2008 22:25:46 +0000 Subject: [PATCH] Option to control ability to add and edit dirs in Usermin --- htaccess-htpasswd/htaccess-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htaccess-htpasswd/htaccess-lib.pl b/htaccess-htpasswd/htaccess-lib.pl index a296144b0..0af9f6936 100644 --- a/htaccess-htpasswd/htaccess-lib.pl +++ b/htaccess-htpasswd/htaccess-lib.pl @@ -23,7 +23,7 @@ if ($module_info{'usermin'}) { $apachemod = "htaccess"; $can_htpasswd = $config{'can_htpasswd'}; $can_htgroups = $config{'can_htgroups'}; - $can_create = 1; + $can_create = !$config{'nocreate'}; } else { # Allowed directories come from ACL