[otrs-cvs] otrs/Kernel/System/Web Request.pm,1.46,1.47
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/Kernel/System/Web
In directory lancelot:/tmp/cvs-serv18628/Kernel/System/Web
Modified Files:
Request.pm
Log Message:
- 2012-12-03 Fixed bug#8933 - ArticleStorageInit permission check problem.
Author: mg
Index: Request.pm
===================================================================
RCS file: /home/cvs/otrs/Kernel/System/Web/Request.pm,v
retrieving revision 1.46
retrieving revision 1.47
diff -2 -u -d -r1.46 -r1.47
--- Request.pm 20 Nov 2012 16:02:16 -0000 1.46
+++ Request.pm 3 Dec 2012 11:38:40 -0000 1.47
@@ -15,4 +15,6 @@
use warnings;
+use File::Path qw();
+
use Kernel::System::CheckItem;
@@ -22,5 +24,5 @@
=head1 NAME
-Kernel::System::Web::Request - global cgi param interface
+Kernel::System::Web::Request - global CGI interface
=head1 SYNOPSIS
@@ -283,9 +285,9 @@
my $Path = "/tmp/$$";
if ( -d $Path ) {
- File::Path::rmtree( [$Path] );
+ File::Path::remove_tree($Path);
}
# create upload dir
- File::Path::mkpath( [$Path], 0, 0700 );
+ File::Path::make_path( $Path, { mode => 0700 } );
$Content = "$Path/$NewFileName";
@@ -298,6 +300,5 @@
}
- # check if content is there, IE is always sending file uploades
- # without content
+ # Check if content is there, IE is always sending file uploads without content.
return if !$Content;
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log