sync
authorAlan Knowles <alan@akkbhome.com>
Thu, 7 Apr 2011 23:42:52 +0000 (07:42 +0800)
committerAlan Knowles <alan@akkbhome.com>
Thu, 7 Apr 2011 23:42:52 +0000 (07:42 +0800)
admin.php [new file with mode: 0644]

diff --git a/admin.php b/admin.php
new file mode 100644 (file)
index 0000000..333b24e
--- /dev/null
+++ b/admin.php
@@ -0,0 +1,48 @@
+<?php 
+
+// alot of this file needs migrating to the Framework..
+
+
+ini_set('include_path', 
+            dirname(__FILE__). ':' . 
+            dirname(__FILE__).'/pearfix:' . 
+            dirname(__FILE__).'/pear:' . 
+            ini_get('include_path'));
+
+define('DB_DATAOBJECT_NO_OVERLOAD', true);
+  
+
+
+
+require_once 'HTML/FlexyFramework.php';
+new HTML_FlexyFramework( array(
+    'project'=> 'Pman',
+    'debug' => 0,
+    'version' => '1.9a',
+    'enable' => 'Core,MTrack,Admin',
+    
+    'appNameShort' => "MTrack",
+    'appName' => "MTrack",
+    //'database' => 'mysql://root:@localhost/pman',
+    'database' =>  'mysql://root:@localhost/mtrack',
+    'Pman' => array(
+        'storedir' => '/home/edoc',
+        // need package!
+        'eximspool' => '/var/spool/exim4', 
+        //'local_autoauth' => 'alan@akbkhome.com',
+        
+        'isDev' => true,  // in future we need to suport non dev versions (which have single DB dir etc. 
+    ),
+    'Pman_Core' => array(
+        'jspacker' => dirname(__FILE__).'/../gnome.introspection-doc-generator'
+    ),
+    'DB_DataObject' => array(
+         //'debug' => 5
+    ),
+    'MTrackWeb' => array(
+        'url' => "http://roojs.com/mtrack/index.php",
+       'email_address' => 'tracker@roojs.com'
+    )
+    
+    
+));