develop
asamoukin 16 years ago
parent 559961555c
commit cabcd4cc60

@ -5578,7 +5578,7 @@ class cl_ldap(shareLdap):
'longOption':"ftp-dir",
'optVal':_("FTP_DIR"),
'helpChapter':_("FTP service options"),
'help':_("ftp directory for the new user account")
'help':_("ftp relative directory for the new user account")
},
{'progAccess':(3,),
'shortOption':"g",
@ -6779,6 +6779,7 @@ class servFtp(shareLdap):
# FTP директория пользователя
if options.has_key('d') and options.has_key('m'):
ftpUserDir = options['d']
ftpUserDir = os.path.join(ftpDir,ftpUserDir)
self.clVars.Set("ur_home_path", ftpUserDir)
else:
self.clVars.Set("ur_home_path", ftpDir)

Loading…
Cancel
Save