update to new schema
authorAlan Knowles <alan@roojs.com>
Tue, 5 Jan 2021 08:13:31 +0000 (16:13 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 5 Jan 2021 08:13:31 +0000 (16:13 +0800)
index.php

index ae71865..0da904f 100644 (file)
--- a/index.php
+++ b/index.php
@@ -17,8 +17,8 @@ ini_set('display_errors', true);
 new HTML_FlexyFramework(array(
        
     'project' => 'MTrackWeb',
-    'enable' => 'MTrack,CoreBC,Core,Admin', // enable permissions from Pman 
-    'database'        => 'mysql://root:@localhost/pman',
+    'enable' => 'MTrack,Core,Admin', // enable permissions from Pman 
+    'database'        => 'mysqli://root:@localhost/pman',
     'version' => '2.0',
     'DB_DataObject' => array(
 //         'debug' => 5,
@@ -30,24 +30,14 @@ new HTML_FlexyFramework(array(
                 
         )),
         'class_prefix' => 'Pman_MTrack_DataObjects_:Pman_CoreBC_DataObjects_:Pman_Core_DataObjects_:',
-        
-         'table_alias' => array(
-            'core_person' => 'Person',
-            'core_company' => 'Companies',
-            'core_group_member' => 'group_members',
-            'core_group_right' => 'group_rights',
-            'core_group' => 'Groups',
-            'core_office' => 'Office',
-            'core_project' => 'Projects',
-        )
+         
     ),
     'MTrackWeb' => array(
         'working_dir' => '/var/lib/mtrack', // this needs to be writable by web user..
         'email_address' => 'mtrack@roojs.com', // email address that spam comes from.
         'url' => 'http://www.roojs.com/mtrack/index.php', // url for the link on the emails.
         'checks' => array(
-            
-            
+             
         )
     ),
     'Pman' => array(