summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e03c585)
- If the user just entered spaces as filename (detection works for other
commands using the "newfile" CGI parameter too), we use the original filename
- Saving even works, if the file has to be created first
# Dev-Editor's main program
#
# Author: Patrick Canterino <patshaping@gmx.net>
# Dev-Editor's main program
#
# Author: Patrick Canterino <patshaping@gmx.net>
-# Last modified: 2004-07-04
+# Last modified: 2004-10-04
my $new_physical = '';
my $new_virtual = '';
my $new_physical = '';
my $new_virtual = '';
+if($newfile ne '' && $newfile !~ /^\s+$/)
{
$curdir = upper_path($file) if($curdir eq '');
my $path = clean_path($curdir.$newfile);
{
$curdir = upper_path($file) if($curdir eq '');
my $path = clean_path($curdir.$newfile);