check object exists
[web.mtrack] / roo.php
diff --git a/roo.php b/roo.php
index d792959..83d4d40 100644 (file)
--- a/roo.php
+++ b/roo.php
@@ -1,6 +1,7 @@
 <?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', 
@@ -17,7 +18,7 @@ ini_set('display_errors', true);
 new HTML_FlexyFramework(array(
        
     'project' => 'MTrackWeb',
-    'enable' => 'MTrack,Core,Admin', // enable permissions from Pman 
+    'enable' => 'MTrack,CoreBC,Core,Admin', // enable permissions from Pman 
     'database'        => 'mysql://root:@localhost/pman',
     'DB_DataObject' => array(
         
@@ -30,15 +31,38 @@ new HTML_FlexyFramework(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.