# Dev-Editor's main program
#
# Author: Patrick Canterino <patshaping@gmx.net>
-# Last modified: 2004-01-16
+# Last modified: 2004-02-20
#
use strict;
# Read the configuration file
my $config = read_config(CONFIGFILE);
+error_template($config->{'tpl_error'}); # Yes, I'm lazy...
# Read the most important form data
unless(($new_physical,$new_virtual) = check_path($config->{'fileroot'},$dir))
{
- abort("You aren't allowed to create files and directories above the virtual root directory.");
+ abort($config->{'err_create_ar'});
}
# Create the physical and the virtual path
}
else
{
- abort("Accessing files and directories above the virtual root directory is forbidden.");
+ abort($config->{'err_above_root'});
}
}
else