admin.php
authorAlan Knowles <alan@akbkhome.com>
Wed, 16 Mar 2011 16:22:48 +0000 (00:22 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 16 Mar 2011 16:22:48 +0000 (00:22 +0800)
admin.php

index e69de29..a7fea03 100644 (file)
--- a/admin.php
+++ b/admin.php
@@ -0,0 +1,43 @@
+<?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.2',
+    'enable' => 'Core,Netsuite,Admin',
+    
+    'appNameShort' => "Netsuite",
+    'appName' => "Netsuite",
+    //'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'
+    ),
+    
+    
+    
+    
+));