Changeset 265
- Timestamp:
- 01/02/11 02:12:38 (13 years ago)
- Location:
- server/trunk/web
- Files:
-
- 10 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
server/trunk/web/Makefile.PL
r173 r265 30 30 requires 'Catalyst::View::TT' => '0'; 31 31 requires 'Catalyst::View::JSON' => '0'; 32 requires 'Catalyst::View::GD' => '0'; 32 33 requires 'Catalyst::Model::DBIC::Schema'; 33 34 requires 'Catalyst::Authentication::Store::DBIx::Class'; -
server/trunk/web/Sophie.spec.in
r173 r265 27 27 BuildRequires: perl(Catalyst::View::TT) 28 28 BuildRequires: perl(Catalyst::View::JSON) 29 BuildRequires: perl(Catalyst::View::GD) 29 30 BuildRequires: perl(DBIx::Class) 30 31 BuildRequires: perl(Catalyst::Plugin::Compress::Zlib) … … 37 38 BuildRequires: perl(XML::Simple) 38 39 BuildRequires: perl(XML::RSS) 40 BuildRequires: perl(GD::Graph) 39 41 40 42 Requires: perl(Catalyst) … … 49 51 Requires: perl(Catalyst::Plugin::Prototype) 50 52 Requires: perl(Catalyst::View::TT) 53 Requires: perl(Catalyst::View::JSON) 54 Requires: perl(Catalyst::View::GD) 51 55 Requires: perl(Catalyst::Plugin::Compress::Zlib) 52 56 Requires: perl-Catalyst-Plugin-Server … … 54 58 Requires: perl(Catalyst::Authentication::Store::DBIx::Class) 55 59 Requires: perl(XML::RSS) 60 Requires: perl(GD::Graph) 56 61 # Requires: apache-mod_fastcgi 57 62 # Requires: perl(FCGI) -
server/trunk/web/lib/Sophie.pm
r209 r265 52 52 xml_encoding => 'UTF-8', 53 53 show_errors => 1, 54 }, 55 'View::GD' => { 56 gd_image_type => 'png', # defaults to 'gif' 57 gd_image_content_type => 'images/png', # defaults to 'image/$gd_image_type' 58 gd_image_render_args => [ 5 ], # defaults to [] 54 59 }, 55 60 -
server/trunk/web/lib/Sophie/Controller/Root.pm
r247 r265 110 110 sub end : Private { 111 111 my ( $self, $c ) = @_; 112 if (!$c->stash->{current_view}) { 113 if (ref($c->stash->{xmlrpc}) eq 'HASH' && 114 $c->stash->{xmlrpc}{graph}) { 115 $c->stash->{current_view} = 'GD'; 116 } 117 } 112 118 if (!$c->req->xmlrpc->method) { 113 119 $c->forward('_end'); 114 } elsif (!$c->stash->{current_view}) {115 120 } 116 121 $c->stash->{data} = $c->stash->{xmlrpc};
Note: See TracChangeset
for help on using the changeset viewer.