From: pcanterino <> Date: Tue, 14 Jun 2005 14:53:10 +0000 (+0000) Subject: - Changed a comment in devedit.pl X-Git-Tag: version_3_0~17 X-Git-Url: https://git.p6c8.net/devedit.git/commitdiff_plain/01eb441007a9ab736d2a9b518975379f8c31dcae - Changed a comment in devedit.pl - Fixed a typo in errors.conf --- diff --git a/devedit.pl b/devedit.pl index f6d59c9..03cfd81 100644 --- a/devedit.pl +++ b/devedit.pl @@ -6,7 +6,7 @@ # Dev-Editor's main program # # Author: Patrick Canterino -# Last modified: 2005-06-09 +# Last modified: 2005-06-14 # use strict; @@ -95,7 +95,7 @@ if($newfile ne '' && $newfile !~ /^\s+$/) $new_physical = File::Spec->canonpath($new_physical.'/'.$file); $new_virtual .= $file; - # Check if the file is denied by configuration + # Check if accessing this file is forbidden if(is_forbidden_file($config->{'forbidden'},$new_virtual)) { diff --git a/errors.conf b/errors.conf index 78913e9..b2cbb57 100644 --- a/errors.conf +++ b/errors.conf @@ -19,7 +19,7 @@ edit_file_changed = The file you want to edit changed meanwhile. Now, it looks l exist_no_write = The target file '{FILE}' already exists and you have not enough permissions to replace it. file_exists = A file or directory called '{FILE}' already exists. file_too_large = The file you want to view or edit is too large (max. {SIZE} Bytes). -forbidden_file = Dev-Editor is configued to forbid accessing this file. +forbidden_file = Dev-Editor is configured to forbid accessing this file. invalid_group = '{GROUP}' seems to be an invalid group name. Please check it and try again. invalid_mode = To change the group of a file or directory, you have to enter an octal number which has at least three digits. invalid_upload = It seems that something is wrong with the file upload you want to submit.