Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

RT-Extension-CustomizeContentType-0.02.tar.gz

Homepage:-
Package version:-
Architecture:-
Distribution:Perl-CPAN
Filename:RT-Extension-CustomizeContentType-0.02.tar.gz

/RT-Extension-CustomizeContentType-0.02/README.pod

use warnings;
use strict;

package RT::Extension::CustomizeContentType;

our $VERSION = "0.02";
use RT::Attachment;

package RT::Attachment;

my $new = sub {
    my $self         = shift;
    my $content_type = shift;

    return $content_type
      unless $self->Filename && $self->Filename =~ /\.(\w+)$/;
    my $ext = lc $1;

    my $config = RT->Config->Get('ContentTypes') or return $content_typ
more»

/RT-Extension-CustomizeContentType-0.02/Changes

Revision history for RT-Extension-CustomizeContentType

0.02    Thu Jul 26 10:23:40 CST 2012

    Normalize extensions to lowercase(thanks to trs++)

0.01    Sat Apr 14 16:30:48 CST 2012
        First version, released on an unsuspecting world.


Browse inside RT-Extension-CustomizeContentType-0.02.tar.gz

         [DIR]RT-Extension-CustomizeContentType-0.02/ (7)

Download RT-Extension-CustomizeContentType-0.02.tar.gz

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com