sync
[web.mtrack] / roo.php
1 <?php
2
3 // this is the configruation...
4 // this one is for the new 'roo version...'
5
6
7 ini_set('include_path', 
8     dirname(__FILE__) . PATH_SEPARATOR .
9     dirname(__FILE__) . '/pear');
10
11 require_once 'HTML/FlexyFramework.php';
12  
13
14 define('DB_DATAOBJECT_NO_OVERLOAD',true);
15
16 ini_set('display_errors', true);
17
18 new HTML_FlexyFramework(array(
19         
20     'project' => 'MTrackWeb',
21     'enable' => 'MTrack,CoreBC,Core,Admin', // enable permissions from Pman 
22     'database'        => 'mysql://root:@localhost/pman',
23     'DB_DataObject' => array(
24         
25
26         'class_location' => implode(PATH_SEPARATOR, array(
27                 dirname(__FILE__). '/Pman/MTrack/DataObjects',
28                 dirname(__FILE__). '/Pman/CoreBC/DataObjects',
29                 dirname(__FILE__). '/Pman/Core/DataObjects',
30                 
31         )),
32         'class_prefix' => 'Pman_MTrack_DataObjects_:Pman_Core_DataObjects_:',
33         
34         'ini_mtrack' => implode(PATH_SEPARATOR, array(
35                 dirname(__FILE__). '/Pman/CoreBC/DataObjects/pman.ini',
36                 dirname(__FILE__). '/Pman/Core/DataObjects/pman.ini',
37                 dirname(__FILE__). '/PmanMTrack/DataObjects/pman.ini',
38                 
39         )),
40     ),
41     'MTrackWeb' => array(
42         'working_dir' => '/var/lib/mtrack', // this needs to be writable by web user..
43         'email_address' => 'mtrack@roojs.com', // email address that spam comes from.
44         
45         'url' => 'http://www.roojs.com/mtrack/index.php', // url for the link on the emails.
46         'checks' => array(
47             // see mtrack/commitcheck
48             // some of these are pre-checks..
49             'BlankLines',
50             'NoEmptyLogMessage',
51             'PhpLint',
52             //'RequireTimeReference',
53             'SingleIssue',
54             'UnixLineBreak',
55             //'Wiki', //?????
56             
57         )
58     ),
59     'Pman' => array(
60         // where the images go.
61        'storedir' => '/home/mtrack',
62        'useroo' => true,
63     )
64 ));
65  
66     
67               
68
69
70