admin.php
[web.mtrack] / admin.php
1 <?php 
2
3 // alot of this file needs migrating to the Framework..
4
5
6 ini_set('include_path', 
7             dirname(__FILE__). ':' . 
8             dirname(__FILE__).'/pearfix:' . 
9             dirname(__FILE__).'/pear:' . 
10             ini_get('include_path'));
11
12 define('DB_DATAOBJECT_NO_OVERLOAD', true);
13   
14
15
16
17 require_once 'HTML/FlexyFramework.php';
18 new HTML_FlexyFramework( array(
19     'project'=> 'Pman',
20     'debug' => 0,
21     'version' => '1.9a',
22     'enable' => 'Core,MTrack,Admin',
23     
24     'appNameShort' => "MTrack",
25     'appName' => "MTrack",
26     //'database' => 'mysql://root:@localhost/pman',
27     'database' =>  'mysql://root:@localhost/pman',
28     
29    
30     
31     'Pman' => array(
32         'storedir' => '/home/edoc',
33         // need package!
34         'eximspool' => '/var/spool/exim4', 
35         //'local_autoauth' => 'alan@akbkhome.com',
36         
37         'isDev' => true,  // in future we need to suport non dev versions (which have single DB dir etc.
38          'auth_comptype' => 'OWNER',
39     
40     ),
41     'Pman_Core' => array(
42         'jspacker' => dirname(__FILE__).'/../gnome.introspection-doc-generator'
43     ),
44     'DB_DataObject' => array(
45          //'debug' => 5
46     ),
47     'MTrackWeb' => array(
48         'url' => "http://roojs.com/mtrack/index.php",
49        'email_address' => 'tracker@roojs.com'
50     )
51     
52     
53 ));