From e23c47d06adda746c330be387f042319f0d7e4dc Mon Sep 17 00:00:00 2001 From: Till Brehm <tbrehm@ispconfig.org> Date: Thu, 21 Aug 2014 04:35:59 -0400 Subject: [PATCH] FS#3635 - Adding Shell Users with remote API is broken in 3.0.5.4p3 FS#3632 - Adding websites with remote API is broken in 3.0.5.4p3 release. Missed to commit one file for: FS#3634 - Add option to disable statistics for a website --- interface/web/sites/form/ftp_user.tform.php | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/interface/web/sites/form/ftp_user.tform.php b/interface/web/sites/form/ftp_user.tform.php index ef11b60..e96e63d 100644 --- a/interface/web/sites/form/ftp_user.tform.php +++ b/interface/web/sites/form/ftp_user.tform.php @@ -205,6 +205,10 @@ 1 => array ( 'type' => 'REGEX', 'regex' => '/^\/[a-zA-Z0-9\ \.\-\_\/]{10,128}$/', 'errmsg'=> 'directory_error_regex'), + 2 => array ( 'type' => 'CUSTOM', + 'class' => 'validate_ftpuser', + 'function' => 'ftp_dir', + 'errmsg' => 'directory_error_notinweb'), ), 'default' => '', 'value' => '', -- Gitblit v1.9.1