/[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.2 - (hide annotations)
Wed Jun 20 10:31:42 2001 UTC (22 years, 9 months ago) by dpavlin
Branch: MAIN
Changes since 1.1: +12 -0 lines
added module which take users from SQL database using php-dbi

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     // $gblFilePerms = 0640 ; // default for new files
61     // $gblDirPerms = 0750 ; // default for new dirs
62    
63 dpavlin 1.2 // Where are users stored?
64     // default is to user .htusers file
65     // $gblUsers = "htusers_file";
66    
67     // use sql handler
68     $gblUsers = "htusers_sql";
69     // this are options if you use htusers_sql (there are no default
70     // in docman.php, so you have to use docman.conf file and enter
71     // data here
72     // $dbi = "pgsql:db:user:password"
73     // $dbi_sql = "select login,full_name,password,email from users";
74    

  ViewVC Help
Powered by ViewVC 1.1.26