/[docman]/docman.conf
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /docman.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (hide annotations)
Fri Feb 15 09:54:25 2002 UTC (17 years, 3 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +8 -0 lines
LDAP module parameters

1 dpavlin 1.1 <?
2    
3     // Document Manager configuration file
4     // ===================================
5     //
6     // put this file in same dir as docman.php (or .index.php) and
7     // rename it to .docman.conf (don't forget dot before filename!)
8     //
9     // Make modifications here to suit docman to your needs
10    
11     // error_reporting(4) ; // how verbose ?
12    
13     // from where to include auth_*.php modules?
14     // $gblIncDir = "/home/httpd/docman";
15    
16 dpavlin 1.8 // do we want to force download? (leave it at 1)
17     $gblForceDownload = 1;
18    
19 dpavlin 1.1 // username/password should not be system
20     // usernames/passwords !!
21    
22     // $gblPw = "";
23    
24     // date format
25     // $gblDateFmt="D, F d, Y";
26     // $gblDateFmt="Y-m-d";
27    
28     // time format
29     // $gblTimeFmt="g:i:sA";
30     // $gblTimeFmt="H:i:s";
31    
32     // Number of backup files to keep
33     // $gblNumBackups=3;
34    
35     // show red star if newer than ... days
36     // $gblModDays=1;
37    
38     // choose GifIcon below unless you have the M$
39     // WingDings font installed on your system
40    
41     // $gblIcon="GifIcon"; // MockIcon or GifIcon
42    
43     // the directory below should be /icons/ or /icons/small/
44     // on Apache; a set of icons is included in the distribution
45    
46     // $gblIconLocation="/icons/";
47    
48     // files you want to be able to edit in text mode
49     // and view with (primitive) syntax highlighting
50    
51     // $gblEditable = array( ".txt",".asa",".asp",".htm",".html",
52     // ".cfm",".php3",".php",".phtml",
53     // ".shtml",".css" ) ;
54    
55     // array_push($gblEditable,".tpl");
56    
57     // files that will display as images on the detail page
58     // (useless if your browser doesn't support them)
59    
60     // $gblImages = array( ".jpg",".jpeg",".gif",".png",".ico",
61     // ".bmp",".xbm") ;
62    
63 dpavlin 1.3 // which files to hide (separated by ,)
64 dpavlin 1.4 // $gblHide = "index.php,hideme.txt";
65 dpavlin 1.3
66 dpavlin 1.1 // $gblFilePerms = 0640 ; // default for new files
67     // $gblDirPerms = 0750 ; // default for new dirs
68    
69 dpavlin 1.2 // Where are users stored?
70     // default is to user .htusers file
71 dpavlin 1.5 $gblUsers = "htusers_file";
72 dpavlin 1.2
73     // use sql handler
74 dpavlin 1.5 // $gblUsers = "htusers_sql";
75 dpavlin 1.2 // this are options if you use htusers_sql (there are no default
76     // in docman.php, so you have to use docman.conf file and enter
77     // data here
78 dpavlin 1.5 // $dbi = "pgsql:db:user:password";
79 dpavlin 1.2 // $dbi_sql = "select login,full_name,password,email from users";
80    
81 dpavlin 1.9 // htusers_ldap options: needs the following lines filled in
82     // $gblUsers = "htusers_ldap";
83     // $ldapServer = "x.x.x.x"; // dotted notation or a FQDN
84     // $ldapServerPort = "389"; // default port
85     // $basedn = "o=CompanyName"; // branch of tree to start search
86     // $bind="cn=Manager, o=CompanyName"; // login for password searching
87     // $bindpw=""; // password for the above account
88    
89 dpavlin 1.6 // htusers_union options: use more than one htusers method
90     // $gblUsers = "htusers_union";
91     // $htusers_union[]="htusers_header";
92     // $htusers_union[]="htusers_sql";
93     // $htusers_union[]="htusers_file";
94    
95 dpavlin 1.7 ?>

  ViewVC Help
Powered by ViewVC 1.1.26