roo.php
[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,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/Core/DataObjects',
29                 
30         )),
31         'class_prefix' => 'Pman_MTrack_DataObjects_:Pman_Core_DataObjects_:',
32         
33         'ini_mtrack' => implode(PATH_SEPARATOR, array(
34                 dirname(__FILE__). '/PmanMTrack/DataObjects/pman.ini',
35                 dirname(__FILE__). '/Pman/Core/DataObjects/pman.ini',
36                 
37         )),
38     ),
39     'MTrackWeb' => array(
40         'working_dir' => '/var/lib/mtrack', // this needs to be writable by web user..
41         'email_address' => 'mtrack@roojs.com', // email address that spam comes from.
42         
43         'url' => 'http://www.roojs.com/mtrack/index.php', // url for the link on the emails.
44         'checks' => array(
45             // see mtrack/commitcheck
46             'BlankLines',
47             'NoEmptyLogMessage',
48             'PhpLint',
49             //'RequireTimeReference',
50             'SingleIssue',
51             'UnixLineBreak',
52             //'Wiki', //?????
53             
54             
55         )
56     ),
57     'Pman' => array(
58         // where the images go.
59        'storedir' => '/home/mtrack',
60        'useroo' => true,
61     )
62 ));
63  
64     
65               
66
67
68