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