MTrackWeb.php
[web.mtrack] / index.php
1 <?php
2
3 // this will be generate eventually by the 'setup.php' script..
4
5
6 ini_set('include_path', 
7     dirname(__FILE__) . PATH_SEPARATOR .
8     dirname(__FILE__) . '/pear');
9
10 require_once 'HTML/FlexyFramework.php';
11  
12
13 define('DB_DATAOBJECT_NO_OVERLOAD',true);
14
15 ini_set('display_errors', true);
16
17 new HTML_FlexyFramework(array(
18         
19     'project' => 'MTrackWeb',
20     'enable' => 'MTrack,CoreBC,Core,Admin', // enable permissions from Pman 
21     'database'        => 'mysql://root:@localhost/pman',
22     'version' => '2.0',
23     'DB_DataObject' => array(
24 //         'debug' => 5,
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_CoreBC_DataObjects_:Pman_Core_DataObjects_:',
33         
34          'table_alias' => array(
35             'core_person' => 'Person',
36             'core_company' => 'Companies',
37             'core_group_member' => 'group_members',
38             'core_group_right' => 'group_rights',
39             'core_group' => 'Groups',
40             'core_office' => 'Office',
41             'core_project' => 'Projects',
42         )
43     ),
44     'MTrackWeb' => array(
45         'working_dir' => '/var/lib/mtrack', // this needs to be writable by web user..
46         'email_address' => 'mtrack@roojs.com', // email address that spam comes from.
47         'url' => 'http://www.roojs.com/mtrack/index.php', // url for the link on the emails.
48         'checks' => array(
49             
50             
51         )
52     ),
53     'Pman' => array(
54         // where the images go.
55        'storedir' => '/home/edoc',
56          'useroo' => true,
57     ),
58      'Pman_Core' => array(
59         'jspacker' => '/home/gitlive/gnome.introspection-doc-generator',
60         'cssminify' => dirname(__FILE__).'/roojs1/buildSDK/cssminify.js',
61     )
62 ));
63  
64     
65               
66
67
68