/[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.6 - (hide annotations)
Wed Sep 26 14:43:35 2001 UTC (22 years, 6 months ago) by dpavlin
Branch: MAIN
Changes since 1.5: +6 -0 lines
htusers_union can be used to auth users using more than one method (e.g.
first try by http headers, then from file and at the end from SQL database)

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     // username/password should not be system
17     // usernames/passwords !!
18    
19     // $gblPw = "";
20    
21     // date format
22     // $gblDateFmt="D, F d, Y";
23     // $gblDateFmt="Y-m-d";
24    
25     // time format
26     // $gblTimeFmt="g:i:sA";
27     // $gblTimeFmt="H:i:s";
28    
29     // Number of backup files to keep
30     // $gblNumBackups=3;
31    
32     // show red star if newer than ... days
33     // $gblModDays=1;
34    
35     // choose GifIcon below unless you have the M$
36     // WingDings font installed on your system
37    
38     // $gblIcon="GifIcon"; // MockIcon or GifIcon
39    
40     // the directory below should be /icons/ or /icons/small/
41     // on Apache; a set of icons is included in the distribution
42    
43     // $gblIconLocation="/icons/";
44    
45     // files you want to be able to edit in text mode
46     // and view with (primitive) syntax highlighting
47    
48     // $gblEditable = array( ".txt",".asa",".asp",".htm",".html",
49     // ".cfm",".php3",".php",".phtml",
50     // ".shtml",".css" ) ;
51    
52     // array_push($gblEditable,".tpl");
53    
54     // files that will display as images on the detail page
55     // (useless if your browser doesn't support them)
56    
57     // $gblImages = array( ".jpg",".jpeg",".gif",".png",".ico",
58     // ".bmp",".xbm") ;
59    
60 dpavlin 1.3 // which files to hide (separated by ,)
61 dpavlin 1.4 // $gblHide = "index.php,hideme.txt";
62 dpavlin 1.3
63 dpavlin 1.1 // $gblFilePerms = 0640 ; // default for new files
64     // $gblDirPerms = 0750 ; // default for new dirs
65    
66 dpavlin 1.2 // Where are users stored?
67     // default is to user .htusers file
68 dpavlin 1.5 $gblUsers = "htusers_file";
69 dpavlin 1.2
70     // use sql handler
71 dpavlin 1.5 // $gblUsers = "htusers_sql";
72 dpavlin 1.2 // this are options if you use htusers_sql (there are no default
73     // in docman.php, so you have to use docman.conf file and enter
74     // data here
75 dpavlin 1.5 // $dbi = "pgsql:db:user:password";
76 dpavlin 1.2 // $dbi_sql = "select login,full_name,password,email from users";
77    
78 dpavlin 1.6 // htusers_union options: use more than one htusers method
79     // $gblUsers = "htusers_union";
80     // $htusers_union[]="htusers_header";
81     // $htusers_union[]="htusers_sql";
82     // $htusers_union[]="htusers_file";
83    

  ViewVC Help
Powered by ViewVC 1.1.26