From: Alan Knowles Date: Tue, 5 Jan 2021 08:13:31 +0000 (+0800) Subject: update to new schema X-Git-Url: http://git.roojs.org/?p=web.mtrack;a=commitdiff_plain;h=243a5348330d09c6df96c2c746c56738eb8bc016 update to new schema --- diff --git a/index.php b/index.php index ae718656..0da904f9 100644 --- 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(