$uselist->lock or abort($config->{'errors'}->{'lock_failed'},undef,{USELIST => $uselist->{'listfile'}, LOCK_FILE => $uselist->{'lockfile'}});
$uselist->load;
- # Create a hash with data submitted by user
- # (some other necessary information will also be included)
+ # Create a hash containing data submitted by the user
+ # (some other necessary information are also included)
my %data = (physical => $physical,
virtual => $virtual,
if(file_save($physical,\$content))
{
- # Saving of the file was successful!
+ # The file was successfully saved!
return devedit_reload({command => 'show', file => $dir});
}
# exec_upload()
#
-# Upload a file
+# Process a file upload
#
# Params: 1. Reference to user input hash
# 2. Reference to config hash
$tpl->fillin('PID',$$);
- # Check if the functions getpwuid() and getgrgid() are available
+ # The following information is only available on systems supporting
+ # users and groups
if($users)
{
# upper_path()
#
-# Cut away the last part of a path
+# Remove the last part of a path
+# (the resulting path contains a trailing slash)
#
# Params: Path
#