Reader/Feed.php
[web.Reader] / r.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__).'/pear:' . 
9             ini_get('include_path'));
10
11 define('DB_DATAOBJECT_NO_OVERLOAD', true);
12   
13
14
15
16 require_once 'HTML/FlexyFramework.php';
17
18 new HTML_FlexyFramework( array(
19     'project'=> 'Reader',
20     'debug' => 0,
21     'version' => '0.1',
22     
23     
24     //'database' => 'mysql://root:@localhost/pman',
25     'database' =>  'mysql://root:@localhost/pman',
26     'Pman' => array(
27         'storedir' => '/home/edoc' 
28     ),
29       /* 
30     'HTML_Template_Flexy' => array(
31       //  'locale' => 'en',   //set a language for template engine
32         'debug' => 1,
33         'forceCompile' => true,
34         'strict' => 1,
35     ),
36     */
37 //  
38           
39     'DB_DataObject' => array(
40     //  'debug' => 5,    
41
42         'class_location' => implode(PATH_SEPARATOR, array(
43                 dirname(__FILE__). '/Pman/Crm/DataObjects',
44                 dirname(__FILE__). '/Pman/CoreBC/DataObjects',
45                 dirname(__FILE__). '/Pman/Core/DataObjects',
46                 dirname(__FILE__). '/Pman/Reader/DataObjects'
47         )),
48         'class_prefix' => 'Pman_CoreBC_DataObjects_:Pman_Core_DataObjects_:Pman_Crm_DataObjects_:Pman_Reader_DataObjects_',
49         
50         'ini_pman' => implode(PATH_SEPARATOR, array(
51                 dirname(__FILE__). '/Pman/Crm/DataObjects/pman.ini',
52                 dirname(__FILE__). '/Pman/Core/DataObjects/pman.ini',
53                 dirname(__FILE__). '/Pman/CoreBC/DataObjects/pman.ini',
54                 dirname(__FILE__). '/Pman/Reader/DataObjects/pman.ini',
55                 
56         )),
57        'table_alias' => array(
58             'core_person' => 'Person',
59             'core_company' => 'Companies',
60             'core_group_member' => 'group_members',
61             'core_group_right' => 'group_rights',
62             'core_group' => 'Groups',
63             'core_office' => 'Office',
64             'core_project' => 'Projects',
65         )
66
67     ),
68
69    
70     
71 ));
72