/[Frey]/trunk/lib/Reblog.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Reblog.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1009 by dpavlin, Sat Jan 24 15:11:33 2009 UTC revision 1010 by dpavlin, Sat Jan 24 15:11:35 2009 UTC
# Line 7  with 'Frey::Config'; Line 7  with 'Frey::Config';
7  #with 'Frey::Storage';  #with 'Frey::Storage';
8    
9  use lib 'lib';  use lib 'lib';
10  use Reblog::Schema;  use Reblog::DBIC;
11    
12  has page => (  has page => (
13          is => 'rw',          is => 'rw',
# Line 19  has page => ( Line 19  has page => (
19  sub as_sponge {  sub as_sponge {
20          my ($self) = @_;          my ($self) = @_;
21    
22          my $reblog = Reblog::Schema->connect(          my $reblog = Reblog::DBIC->connect(
23                  "DBI:mysql:database=reblog;host=127.0.0.1;port=13306", '', ''                  "DBI:mysql:database=reblog;host=127.0.0.1;port=13306", '', ''
24          );          );
25    

Legend:
Removed from v.1009  
changed lines
  Added in v.1010

  ViewVC Help
Powered by ViewVC 1.1.26