/[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

Contents of /docman.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations)
Mon Oct 29 16:20:28 2001 UTC (22 years, 5 months ago) by dpavlin
Branch: MAIN
Changes since 1.7: +3 -0 lines
new option to force download (to prevent files from asociating with
applications) for CheckOut (always) and View (by default off)

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 // do we want to force download? (leave it at 1)
17 $gblForceDownload = 1;
18
19 // 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 // which files to hide (separated by ,)
64 // $gblHide = "index.php,hideme.txt";
65
66 // $gblFilePerms = 0640 ; // default for new files
67 // $gblDirPerms = 0750 ; // default for new dirs
68
69 // Where are users stored?
70 // default is to user .htusers file
71 $gblUsers = "htusers_file";
72
73 // use sql handler
74 // $gblUsers = "htusers_sql";
75 // 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 // $dbi = "pgsql:db:user:password";
79 // $dbi_sql = "select login,full_name,password,email from users";
80
81 // htusers_union options: use more than one htusers method
82 // $gblUsers = "htusers_union";
83 // $htusers_union[]="htusers_header";
84 // $htusers_union[]="htusers_sql";
85 // $htusers_union[]="htusers_file";
86
87 ?>

  ViewVC Help
Powered by ViewVC 1.1.26