Commit bcf8373e02651355bf1db0c7babfeb9a72495d24
1 parent
5b93c786
changed logo, added another userClass definition
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@61 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
6 additions
and
3 deletions
config/dmsDefaults.php
| @@ -87,7 +87,8 @@ require_once("$default->owl_fs_root/phplib/db_mysql.inc"); | @@ -87,7 +87,8 @@ require_once("$default->owl_fs_root/phplib/db_mysql.inc"); | ||
| 87 | 87 | ||
| 88 | // Change this to reflect the authentication method you are using | 88 | // Change this to reflect the authentication method you are using |
| 89 | //require_once("$default->owl_fs_root/lib/LDAPAuthenticator.inc"); | 89 | //require_once("$default->owl_fs_root/lib/LDAPAuthenticator.inc"); |
| 90 | -//require_once("$default->owl_fs_root/lib/DBAuthenticator.inc"); | 90 | +require_once("$default->owl_fs_root/lib/Authenticator.inc"); |
| 91 | +require_once("$default->owl_fs_root/lib/DBAuthenticator.inc"); | ||
| 91 | 92 | ||
| 92 | // Database info | 93 | // Database info |
| 93 | $default->owl_db_user = "root"; | 94 | $default->owl_db_user = "root"; |
| @@ -96,7 +97,7 @@ $default->owl_db_host = ""; | @@ -96,7 +97,7 @@ $default->owl_db_host = ""; | ||
| 96 | $default->owl_db_name = "intranet"; | 97 | $default->owl_db_name = "intranet"; |
| 97 | 98 | ||
| 98 | // logo file that must reside inside lang/graphics directory | 99 | // logo file that must reside inside lang/graphics directory |
| 99 | -$default->logo = "owl.gif"; | 100 | +$default->logo = "kt.jpg"; |
| 100 | 101 | ||
| 101 | // BUG Number: 457588 | 102 | // BUG Number: 457588 |
| 102 | // This is to display the version information in the footer | 103 | // This is to display the version information in the footer |
| @@ -125,7 +126,8 @@ $default->owl_email_fromname = "owl"; | @@ -125,7 +126,8 @@ $default->owl_email_fromname = "owl"; | ||
| 125 | // to view pages with UA access. | 126 | // to view pages with UA access. |
| 126 | define("SA", 0); | 127 | define("SA", 0); |
| 127 | define("UA", 1); | 128 | define("UA", 1); |
| 128 | -define("A", 2); | 129 | +define("U", 2); |
| 130 | +define("A", 3); | ||
| 129 | 131 | ||
| 130 | // define site mappings | 132 | // define site mappings |
| 131 | require_once("/lib/SiteMap.inc"); | 133 | require_once("/lib/SiteMap.inc"); |
| @@ -134,6 +136,7 @@ $default->siteMap = new SiteMap(); | @@ -134,6 +136,7 @@ $default->siteMap = new SiteMap(); | ||
| 134 | $default->siteMap->addPage("LOGIN", "login.php?loginAction=login", "General", "A"); | 136 | $default->siteMap->addPage("LOGIN", "login.php?loginAction=login", "General", "A"); |
| 135 | $default->siteMap->addPage("LOGIN_FORM", "login.php?loginAction=loginForm", "General", "A"); | 137 | $default->siteMap->addPage("LOGIN_FORM", "login.php?loginAction=loginForm", "General", "A"); |
| 136 | $default->siteMap->addPage("LOGOUT", "logout.php", "General", "A"); | 138 | $default->siteMap->addPage("LOGOUT", "logout.php", "General", "A"); |
| 139 | +$default->siteMap->addPage("DASHBOARD", "dashboard.php", "General", "A"); | ||
| 137 | $default->siteMap->addPage("BROWSE", "browse.php", "Browse Collections", "A"); | 140 | $default->siteMap->addPage("BROWSE", "browse.php", "Browse Collections", "A"); |
| 138 | $default->siteMap->addPage("ADDFOLDER", "addFolder.php", "Browse Collections", "UA"); | 141 | $default->siteMap->addPage("ADDFOLDER", "addFolder.php", "Browse Collections", "UA"); |
| 139 | $default->siteMap->addPage("ADDUSER", "addUser.php", "Administration", "UA"); | 142 | $default->siteMap->addPage("ADDUSER", "addUser.php", "Administration", "UA"); |