[WTF CVS] wtf/lib/WTF Config.pm,1.5,1.6
Brought to you by:
gryphonshafer
From: Gryphon S. <gry...@us...> - 2006-12-05 16:02:40
|
Update of /cvsroot/wtf-tracker/wtf/lib/WTF In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31556/lib/WTF Modified Files: Config.pm Log Message: Reorganized the configuration file to put more frequently or commonly changed things higher in the list. Index: Config.pm =================================================================== RCS file: /cvsroot/wtf-tracker/wtf/lib/WTF/Config.pm,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Config.pm 3 Dec 2006 00:04:20 -0000 1.5 --- Config.pm 5 Dec 2006 16:02:32 -0000 1.6 *************** *** 17,21 **** ) ? 'wtf_dev' : 'wtf', ! # enviornment name for DEVEL and PROD ENVIRONMENT => ( Apache2::ServerUtil::exists_config_define('DEVEL') --- 17,21 ---- ) ? 'wtf_dev' : 'wtf', ! # enviornment name for DEVEL and PROD ENVIRONMENT => ( Apache2::ServerUtil::exists_config_define('DEVEL') *************** *** 25,28 **** --- 25,35 ---- use constant CONFIG => { + # email settings + 'email' => { + 'wtf' => 'wt...@ex...', + 'admin' => 'ad...@ex...', + 'server' => 'mail.example.com', + }, + # MySQL database connection settings 'database' => { *************** *** 42,45 **** --- 49,55 ---- 'templates' => { + # WTF installation title (used on home page and in emails) + 'title' => 'Work Tracking Facilitator', + # directories in which to look for template files 'pages' => [ *************** *** 50,56 **** # templates root (used for preloading all templates) 'root' => PATHWAY . '/wtf/templates', - - # WTF installation title (used on home page and in emails) - 'title' => 'Work Tracking Facilitator', }, --- 60,63 ---- *************** *** 72,82 **** 'weekly_status' => PATHWAY . '/wtf/util/weekly_status.pl' . ENVIRONMENT, ! # email settings ! 'email' => { ! 'wtf' => 'wt...@ex...', ! 'admin' => 'ad...@ex...', ! 'server' => 'mail.example.com', ! }, ! 'version' => '1.02', }; --- 79,83 ---- 'weekly_status' => PATHWAY . '/wtf/util/weekly_status.pl' . ENVIRONMENT, ! # version number to display on navigation bar 'version' => '1.02', }; |