not_exist = File/directory does not exist.
dir_not_exist = The directory where you want to create this file or directory doesn't exist.
file_too_large = The file you want to view or edit is too large (max. {SIZE} Bytes).
+remove_root = You are not allowed to remove the root directory.
+rename_root = You are not allowed to move/rename the root directory.
# End of configuration file
\ No newline at end of file
# Execute Dev-Editor's commands
#
# Author: Patrick Canterino <patshaping@gmx.net>
-# Last modified: 2004-07-20
+# Last modified: 2004-07-22
#
use strict;
my $virtual = $data->{'virtual'};
my $new_physical = $data->{'new_physical'};
+ return error($config->{'errors'}->{'rename_root'},"/") if($virtual eq "/");
return error($config->{'errors'}->{'in_use'},upper_path($virtual),{FILE => $virtual}) if($data->{'uselist'}->in_use($virtual));
if($new_physical)
my $physical = $data->{'physical'};
my $virtual = $data->{'virtual'};
+ return error($config->{'errors'}->{'remove_root'},"/") if($virtual eq "/");
+
if(-d $physical)
{
# Remove a directory