Commit 0c6dccae0e7a87aba62ee4f0a9be7a7d27996063

Authored by jacquiz
1 parent a50b0bba

Type: functionality change

Description:		Added a global variable $default->folderHidingFlag that determines whether or not
to enable folder hiding of folders to which users do not have permission. 
Behaviour before fix:	All navigation was viewable to the user
Behaviour after fix:	Now the user is only have to see folders to which they have access


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2870 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 6 additions and 3 deletions
config/environment.php
... ... @@ -22,9 +22,9 @@
22 22 */
23 23  
24 24 // install path
25   -$default->fileSystemRoot = "/usr/local/www/dms";
  25 +$default->fileSystemRoot = "C:/eclipse/workspace/knowledgeTree";
26 26 // server settings
27   -$default->serverName = "change.to.your.hostname";
  27 +$default->serverName = "ktjacqui";
28 28 // whether ssl is enabled or not
29 29 $default->sslEnabled = false;
30 30 // Change this to reflect the authentication method you are using
... ... @@ -32,11 +32,14 @@ $default->sslEnabled = false;
32 32 $default->authenticationClass = "DBAuthenticator";
33 33 require_once("$default->fileSystemRoot/lib/authentication/$default->authenticationClass.inc");
34 34  
  35 +//enable folder hiding flag
  36 +$default->folderHidingFlag = 1;
  37 +
35 38 // Database info
36 39 $default->dbHost = "localhost";
37 40 $default->dbName = "dms";
38 41 $default->dbUser = "dms";
39   -$default->dbPass = "pass";
  42 +$default->dbPass = "";
40 43  
41 44 // Change this to reflect the database you are using
42 45 //require("$default->fileSystemRoot/phplib/db_pgsql.inc");
... ...