Commit 7b203fce7a1ce8d7bda7e85c9d0a7c726f9c3b5a

Authored by rob
1 parent d16998da

Added tables concerned with document type management


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@79 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 15 additions and 6 deletions
config/dmsDefaults.php
@@ -14,11 +14,11 @@ $default->owl_root_url = ""; @@ -14,11 +14,11 @@ $default->owl_root_url = "";
14 $default->owl_graphics_url = $default->owl_root_url . "/graphics"; 14 $default->owl_graphics_url = $default->owl_root_url . "/graphics";
15 15
16 // Directory where owl is located 16 // Directory where owl is located
17 -$default->owl_fs_root = "c:/owl"; 17 +$default->owl_fs_root = "C:/Projects/MRC/Devel/owl";
18 $default->owl_LangDir = $default->owl_fs_root . "/locale"; 18 $default->owl_LangDir = $default->owl_fs_root . "/locale";
19 19
20 // Directory where The Documents Directory is On Disc 20 // Directory where The Documents Directory is On Disc
21 -$default->owl_FileDir = "c:/owl"; 21 +$default->owl_FileDir = "C:/Projects/MRC/Devel/owl";
22 //$default->owl_FileDir = "/tmp"; 22 //$default->owl_FileDir = "/tmp";
23 23
24 // Set to true to use the file system to store documents, false only uses the database 24 // Set to true to use the file system to store documents, false only uses the database
@@ -88,6 +88,15 @@ $default->owl_prefs_table = "intranet.prefs"; @@ -88,6 +88,15 @@ $default->owl_prefs_table = "intranet.prefs";
88 // Table with file data info 88 // Table with file data info
89 $default->owl_files_data_table = "filedata"; 89 $default->owl_files_data_table = "filedata";
90 90
  91 +//Table with document type info
  92 +$default->owl_document_types_table = "document_types";
  93 +
  94 +//Table that links document types to document type fields
  95 +$default->owl_document_type_fields_table = "document_type_fields";
  96 +
  97 +//Table with document type field info
  98 +$default->owl_fields_table = "fields";
  99 +
91 // Change this to reflect the database you are using 100 // Change this to reflect the database you are using
92 require_once("$default->owl_fs_root/phplib/db_mysql.inc"); 101 require_once("$default->owl_fs_root/phplib/db_mysql.inc");
93 //require("$default->owl_fs_root/phplib/db_pgsql.inc"); 102 //require("$default->owl_fs_root/phplib/db_pgsql.inc");
@@ -102,11 +111,11 @@ $default->ldapServer = "192.168.1.9"; @@ -102,11 +111,11 @@ $default->ldapServer = "192.168.1.9";
102 $default->ldapRootDn = "o=Medical Research Council"; 111 $default->ldapRootDn = "o=Medical Research Council";
103 112
104 // Database info 113 // Database info
105 -$default->owl_db_user = "root";  
106 -$default->owl_db_pass = "pass123"; 114 +$default->owl_db_user = "rob";
  115 +$default->owl_db_pass = "rob";
107 $default->owl_db_host = ""; 116 $default->owl_db_host = "";
108 //$default->owl_db_name = "intranet"; 117 //$default->owl_db_name = "intranet";
109 -$default->owl_db_name = "dms"; 118 +$default->owl_db_name = "owl";
110 119
111 // logo file that must reside inside lang/graphics directory 120 // logo file that must reside inside lang/graphics directory
112 $default->logo = "kt.jpg"; 121 $default->logo = "kt.jpg";
@@ -130,7 +139,7 @@ $default->debug = True; @@ -130,7 +139,7 @@ $default->debug = True;
130 //$default->owl_restrict_linkto = true; 139 //$default->owl_restrict_linkto = true;
131 140
132 $default->owl_email_server = "mail.jamwarehouse.com"; 141 $default->owl_email_server = "mail.jamwarehouse.com";
133 -$default->owl_email_from = "owl@spare2.jamwarehouse.com"; 142 +$default->owl_email_from = "owl@rob.jamwarehouse.com";
134 $default->owl_email_fromname = "owl"; 143 $default->owl_email_fromname = "owl";
135 144
136 // user class constant definitions 145 // user class constant definitions