use Output;
use Template;
-use Data::Dumper;
-
my $script = encode_entities($ENV{'SCRIPT_NAME'});
my $users = eval('getpwuid(0)') && eval('getgrgid(0)');
return error($config->{'errors'}->{'no_dir_access'},$upper_path) unless(-r $physical && -x $physical);
my $direntries = dir_read($physical);
- return error($config->{'dir_read_fail'},$upper_path,{DIR => encode_entities($virtual)}) unless($direntries);
+ return error($config->{'errors'}->{'dir_read_fail'},$upper_path,{DIR => encode_entities($virtual)}) unless($direntries);
my $files = $direntries->{'files'};
my $dirs = $direntries->{'dirs'};
}
else
{
- # The file was saved successfully!
-
if($md5data ne $md5file)
{
seek(FILE,0,0);
}
$output = devedit_reload({command => 'show', file => $dir});
-
- #return error($config->{'errors'}->{'edit_failed'},$dir,{FILE => $virtual});
}
close(FILE);