<?php
-// this will be generate eventually by the 'setup.php' script..
+// this is the configruation...
+// this one is for the new 'roo version...'
ini_set('include_path',
new HTML_FlexyFramework(array(
'project' => 'MTrackWeb',
- 'enable' => 'MTrack,Core,Admin', // enable permissions from Pman
- 'database' => 'mysql://root:@localhost/mtrack',
+ 'enable' => 'MTrack,CoreBC,Core,Admin', // enable permissions from Pman
+ 'database' => 'mysql://root:@localhost/pman',
'DB_DataObject' => array(
'class_prefix' => 'Pman_MTrack_DataObjects_:Pman_Core_DataObjects_:',
'ini_mtrack' => implode(PATH_SEPARATOR, array(
+ dirname(__FILE__). '/Pman/CoreBC/DataObjects/pman.ini',
dirname(__FILE__). '/PmanMTrack/DataObjects/pman.ini',
- dirname(__FILE__). '/Pman/Core/DataObjects/pman.ini',
)),
+ '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(
+ // see mtrack/commitcheck
+ // some of these are pre-checks..
+ 'BlankLines',
+ 'NoEmptyLogMessage',
+ 'PhpLint',
+ //'RequireTimeReference',
+ 'SingleIssue',
+ 'UnixLineBreak',
+ //'Wiki', //?????
+
+ ),
),
'Pman' => array(
// where the images go.