Commit b1a4df888787552c9d083c6e2a314b6fe88e501d

Authored by michael
1 parent 6a136e08

added auth test to sitemap


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@829 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 18 additions and 19 deletions
config/dmsDefaults.php
@@ -12,8 +12,8 @@ @@ -12,8 +12,8 @@
12 // include the environment settings 12 // include the environment settings
13 require_once("environment.php"); 13 require_once("environment.php");
14 14
15 -$default->owl_graphics_url = $default->owl_root_url . "/graphics";  
16 -$default->owl_LangDir = $default->owl_fs_root . "/locale"; 15 +$default->owl_graphics_url = $default->owl_root_url . "/graphics";
  16 +$default->owl_LangDir = $default->owl_fs_root . "/locale";
17 // change this to reflect a directory with a different look and feel 17 // change this to reflect a directory with a different look and feel
18 $default->owl_ui_directory = $default->owl_fs_root . "/presentation/lookAndFeel/knowledgeTree"; 18 $default->owl_ui_directory = $default->owl_fs_root . "/presentation/lookAndFeel/knowledgeTree";
19 $default->owl_ui_url = $default->owl_root_url . "/presentation/lookAndFeel/knowledgeTree"; 19 $default->owl_ui_url = $default->owl_root_url . "/presentation/lookAndFeel/knowledgeTree";
@@ -45,7 +45,7 @@ $default->owl_use_fs = true; @@ -45,7 +45,7 @@ $default->owl_use_fs = true;
45 // Portuguese 45 // Portuguese
46 // Spanish 46 // Spanish
47 47
48 -$default->owl_lang = "NewEnglish"; 48 +$default->owl_lang = "NewEnglish";
49 $default->owl_notify_link = "http://$_SERVER[SERVER_NAME]$default->owl_root_url/"; 49 $default->owl_notify_link = "http://$_SERVER[SERVER_NAME]$default->owl_root_url/";
50 50
51 // Table mappings 51 // Table mappings
@@ -63,7 +63,7 @@ $default->owl_document_subscriptions_table = "document_subscriptions"; @@ -63,7 +63,7 @@ $default->owl_document_subscriptions_table = "document_subscriptions";
63 // document transaction types 63 // document transaction types
64 $default->owl_transaction_types_table = "document_transaction_types_lookup"; 64 $default->owl_transaction_types_table = "document_transaction_types_lookup";
65 // document transactions 65 // document transactions
66 -$default->owl_document_transactions_table = "document_transactions"; 66 +$default->owl_document_transactions_table = "document_transactions";
67 // links document types to document type fields 67 // links document types to document type fields
68 $default->owl_document_type_fields_table = "document_type_fields_link"; 68 $default->owl_document_type_fields_table = "document_type_fields_link";
69 // document type information 69 // document type information
@@ -77,19 +77,19 @@ $default->owl_folder_subscriptions_table = "folder_subscriptions"; @@ -77,19 +77,19 @@ $default->owl_folder_subscriptions_table = "folder_subscriptions";
77 // stores folders 77 // stores folders
78 $default->owl_folders_table = "folders"; 78 $default->owl_folders_table = "folders";
79 // links folders to users (and roles) for approval collaboration 79 // links folders to users (and roles) for approval collaboration
80 -$default->owl_folders_user_roles_table = "folders_users_roles_link"; 80 +$default->owl_folders_user_roles_table = "folders_users_roles_link";
81 // stores approval collaboration information- approval roles mapped to folders with order 81 // stores approval collaboration information- approval roles mapped to folders with order
82 -$default->owl_groups_folders_approval_table = "groups_folders_approval_link"; 82 +$default->owl_groups_folders_approval_table = "groups_folders_approval_link";
83 // links groups to folders 83 // links groups to folders
84 -$default->owl_groups_folders_table = "groups_folders_link"; 84 +$default->owl_groups_folders_table = "groups_folders_link";
85 // stores group information 85 // stores group information
86 -$default->owl_groups_table = "groups_lookup"; 86 +$default->owl_groups_table = "groups_lookup";
87 // links groups to units 87 // links groups to units
88 $default->owl_groups_units_table = "groups_units_link"; 88 $default->owl_groups_units_table = "groups_units_link";
89 // links 89 // links
90 $default->owl_links_table = "links"; 90 $default->owl_links_table = "links";
91 // Table with mime info 91 // Table with mime info
92 -$default->owl_mime_table = "mime_types"; 92 +$default->owl_mime_table = "mime_types";
93 // organisation information 93 // organisation information
94 $default->owl_organisations_table = "organisations_lookup"; 94 $default->owl_organisations_table = "organisations_lookup";
95 // stores role information (name and access) 95 // stores role information (name and access)
@@ -101,24 +101,24 @@ $default->owl_site_sections_table = "site_sections_lookup"; @@ -101,24 +101,24 @@ $default->owl_site_sections_table = "site_sections_lookup";
101 // sitemap definition 101 // sitemap definition
102 $default->owl_sitemap_table = "sitemap"; 102 $default->owl_sitemap_table = "sitemap";
103 // stores document subscription information 103 // stores document subscription information
104 -$default->owl_subscriptions_table = "subscriptions"; 104 +$default->owl_subscriptions_table = "subscriptions";
105 // stores default system settings 105 // stores default system settings
106 -$default->owl_system_settings_table = "system_settings"; 106 +$default->owl_system_settings_table = "system_settings";
107 // Table with unit information 107 // Table with unit information
108 $default->owl_units_table = "units_lookup"; 108 $default->owl_units_table = "units_lookup";
109 // Table with unit organisation link tables 109 // Table with unit organisation link tables
110 $default->owl_units_organisations_link_table = "units_organisations_link"; 110 $default->owl_units_organisations_link_table = "units_organisations_link";
111 // Table with user info 111 // Table with user info
112 -$default->owl_users_table = "users"; 112 +$default->owl_users_table = "users";
113 // links groups to users 113 // links groups to users
114 -$default->owl_users_groups_table = "users_groups_link"; 114 +$default->owl_users_groups_table = "users_groups_link";
115 // Table with web documents info for web publishing 115 // Table with web documents info for web publishing
116 $default->owl_web_documents_table = "web_documents"; 116 $default->owl_web_documents_table = "web_documents";
117 - // Table with web documents info for web publishing 117 +// Table with web documents info for web publishing
118 $default->owl_web_documents_status_table = "web_documents_status_lookup"; 118 $default->owl_web_documents_status_table = "web_documents_status_lookup";
119 // stores websites for web publishing 119 // stores websites for web publishing
120 $default->owl_web_sites_table = "web_sites"; 120 $default->owl_web_sites_table = "web_sites";
121 -// stores indexed words 121 +// stores indexed words
122 $default->owl_words_lookup_table = "words_lookup"; 122 $default->owl_words_lookup_table = "words_lookup";
123 123
124 // Change this to reflect the database you are using 124 // Change this to reflect the database you are using
@@ -152,7 +152,7 @@ $default->siteMap = new SiteMap(false); @@ -152,7 +152,7 @@ $default->siteMap = new SiteMap(false);
152 152
153 // general pages 153 // general pages
154 $default->siteMap->addPage("login", "/presentation/login.php?loginAction=login", "General", None, ""); 154 $default->siteMap->addPage("login", "/presentation/login.php?loginAction=login", "General", None, "");
155 -$default->siteMap->addPage("loginForm", "/presentation/login.php?loginAction=loginForm", "General", None, "login"); 155 +$default->siteMap->addPage("loginForm", "/presentation/login.php?loginAction=loginForm", "General", None, "login");
156 $default->siteMap->addPage("dashboard", "/presentation/dashboardBL.php", "General", Guest, "dashboard"); 156 $default->siteMap->addPage("dashboard", "/presentation/dashboardBL.php", "General", Guest, "dashboard");
157 157
158 //pages for manage documents section 158 //pages for manage documents section
@@ -200,11 +200,10 @@ $default->siteMap->addPage("scroll", "/tests/scroll/textScrollTest.php", "Tests" @@ -200,11 +200,10 @@ $default->siteMap->addPage("scroll", "/tests/scroll/textScrollTest.php", "Tests"
200 $default->siteMap->addPage("folderSub", "/tests/subscriptions/folderSubscription.php", "Tests", Guest, "folder subscription unit test", false); 200 $default->siteMap->addPage("folderSub", "/tests/subscriptions/folderSubscription.php", "Tests", Guest, "folder subscription unit test", false);
201 $default->siteMap->addPage("documentSub", "/tests/subscriptions/documentSubscription.php", "Tests", Guest, "document subscription unit test", false); 201 $default->siteMap->addPage("documentSub", "/tests/subscriptions/documentSubscription.php", "Tests", Guest, "document subscription unit test", false);
202 $default->siteMap->addPage("subManager", "/tests/subscriptions/subscriptionManager.php", "Tests", Guest, "manage subscription unit test", false); 202 $default->siteMap->addPage("subManager", "/tests/subscriptions/subscriptionManager.php", "Tests", Guest, "manage subscription unit test", false);
203 -  
204 - 203 +$default->siteMap->addPage("auth", "/tests/authentication/authentication.php", "Tests", Guest, "authentication unit test", false);
205 204
206 // default requires 205 // default requires
207 -require_once("$default->owl_fs_root/phpmailer/class.phpmailer.php"); 206 +require_once("$default->owl_fs_root/phpmailer/class.phpmailer.php");
208 require_once("$default->owl_fs_root/lib/session/Session.inc"); 207 require_once("$default->owl_fs_root/lib/session/Session.inc");
209 require_once("$default->owl_fs_root/lib/session/control.inc"); 208 require_once("$default->owl_fs_root/lib/session/control.inc");
210 require_once("$default->owl_fs_root/lib/database/db.inc"); 209 require_once("$default->owl_fs_root/lib/database/db.inc");