1 |
dpavlin |
1.1 |
<?php |
2 |
|
|
|
3 |
|
|
# Document Manager template configuration file |
4 |
|
|
|
5 |
|
|
# You must change few following options!!! |
6 |
|
|
|
7 |
|
|
# where is repository directory? |
8 |
|
|
$gblRepositoryDir = "/home/httpd/repository"; |
9 |
|
|
|
10 |
|
|
# date format |
11 |
|
|
# $gblDateFmt="D, F d, Y"; |
12 |
|
|
# $gblDateFmt="Y-m-d"; |
13 |
|
|
|
14 |
|
|
# time format |
15 |
|
|
# $gblTimeFmt="g:i:sA"; |
16 |
|
|
# $gblTimeFmt="H:i:s"; |
17 |
|
|
|
18 |
|
|
# Number of backup files to keep |
19 |
|
|
# $gblNumBackups=3; |
20 |
|
|
|
21 |
|
|
# show red star if newer than ... days |
22 |
|
|
# $gblModDays=1; |
23 |
|
|
|
24 |
|
|
# choose GifIcon below unless you have the M$ |
25 |
|
|
# WingDings font installed on your system |
26 |
|
|
|
27 |
|
|
# $gblIcon="GifIcon"; # MockIcon or GifIcon |
28 |
|
|
|
29 |
|
|
# the directory below should be /icons/ or /icons/small/ |
30 |
|
|
# on Apache; a set of icons is included in the distribution |
31 |
|
|
|
32 |
|
|
# $gblIconLocation="/icons/"; |
33 |
|
|
|
34 |
|
|
# files you want to be able to edit in text mode |
35 |
|
|
# and view with (primitive) syntax highlighting |
36 |
|
|
|
37 |
|
|
# $gblEditable = array( ".txt",".asa",".asp",".htm",".html", |
38 |
|
|
# ".cfm",".php3",".php",".phtml", |
39 |
|
|
# ".shtml",".css" ) ; |
40 |
|
|
|
41 |
|
|
# array_push($gblEditable,".tpl"); |
42 |
|
|
|
43 |
|
|
# files that will display as images on the detail page |
44 |
|
|
# (useless if your browser doesn't support them) |
45 |
|
|
|
46 |
|
|
# $gblImages = array( ".jpg",".jpeg",".gif",".png",".ico", |
47 |
|
|
# ".bmp",".xbm") ; |
48 |
|
|
|
49 |
|
|
# which files to hide (separated by ,) |
50 |
|
|
# $gblHide = "index.php,hideme.txt"; |
51 |
|
|
|
52 |
|
|
# $gblFilePerms = 0640 ; # default for new files |
53 |
|
|
# $gblDirPerms = 0750 ; # default for new dirs |
54 |
|
|
|
55 |
|
|
# Where are users stored? |
56 |
|
|
# default is to user .htusers file |
57 |
|
|
$gblUsers = "file"; |
58 |
|
|
|
59 |
|
|
# use sql handler |
60 |
|
|
# $gblUsers = "sql"; |
61 |
|
|
# this are options if you use sql (there are no default |
62 |
|
|
# in docman.php, so you have to use docman.conf file and enter |
63 |
|
|
# data here |
64 |
|
|
# $dbi = "pgsql:db:user:password"; |
65 |
|
|
# $dbi_sql = "select login,full_name,password,email from users"; |
66 |
|
|
|
67 |
|
|
# ldap options: needs the following lines filled in |
68 |
|
|
# $gblUsers = "ldap"; |
69 |
|
|
# $ldapServer = "x.x.x.x"; # dotted notation or a FQDN |
70 |
|
|
# $ldapServerPort = "389"; # default port |
71 |
|
|
# $basedn = "o=CompanyName"; # branch of tree to start search |
72 |
|
|
# $bind="cn=Manager, o=CompanyName"; # login for password searching |
73 |
|
|
# $bindpw=""; # password for the above account |
74 |
|
|
|
75 |
|
|
# union options: use more than one htusers method |
76 |
|
|
# $gblUsers = "union"; |
77 |
|
|
# $htusers_union[]="header"; |
78 |
|
|
# $htusers_union[]="sql"; |
79 |
|
|
# $htusers_union[]="file"; |
80 |
|
|
|
81 |
dpavlin |
1.2 |
# Do you want to redirect ADMIN errors to Apache ErrorLog and not |
82 |
|
|
# disclose configuration errors to users? |
83 |
|
|
$gblSeparateAdminMessages = 1; |
84 |
|
|
|
85 |
|
|
# Do you also want to e-mail administrative messages to |
86 |
|
|
# webmaster (ServerAdmin in apache.conf) |
87 |
|
|
#$gblMailAdminMessages = 0; |
88 |
dpavlin |
1.3 |
|
89 |
|
|
# where is mime.types located |
90 |
|
|
#$gblMimeType = "/etc/mime.types"; |
91 |
|
|
|
92 |
|
|
# do you want to ignore unkwnown file types (like pipes, block |
93 |
|
|
# and character files) |
94 |
|
|
#$gblIgnoreUnknownFileType = 1; |
95 |
dpavlin |
1.1 |
?> |