Changeset 13469

Show
Ignore:
Timestamp:
06/08/08 12:45:09 (5 years ago)
Author:
tokuhirom
Message:

change configuration file structure

Location:
lang/perl/Ulgori/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Ulgori/trunk/config.yaml

    r13467 r13469  
    11--- 
    2 log_path: /Users/tokuhirom/share/irclog/others/[% date.year | format('%04d') %].[% date.month | format('%02d') %].[% date.day | format('%02d') %].txt 
    3 log_encoding: euc-jp 
    4 entries_per_page: 20 
    5 Engine: 
     2'Model::Log': 
     3  log_path: /Users/tokuhirom/share/irclog/others/[% date.year | format('%04d') %].[% date.month | format('%02d') %].[% date.day | format('%02d') %].txt 
     4  log_encoding: euc-jp 
     5  entries_per_page: 20 
     6'Engine': 
    67  module: ServerSimple 
    78  args: 
  • lang/perl/Ulgori/trunk/lib/Ulgori/Model/Log.pm

    r11900 r13469  
    88use Data::Page; 
    99 
    10 sub config () { Ulgori::Config->instance } ## no critic. 
     10sub config () { Ulgori::Config->instance->{'Model::Log'} } ## no critic. 
    1111 
    1212sub retrieve_all {