Next
Previous
Contents
Most of the configuration for OpenDocMan is controlled by a file
name config.php. Below are some of the configurable options in that
file:
- $database - The name of the database used (ex. opendocman)
- $user - The user that has update/insert/delete permissions
on above database
- $pass - Password for above user
- $hostname - The hostname of the database server (ex. db1.mydomain.com)
- demo - This setting is for a demo installation, where random
people will be all loggging in as the same username/password like
'demo/demo'.
- authen - Future setting to control other authentication methods.
Currently only MySQL and web-based kerberos authentication is supported.
- page_limit - Set the number of files that show up on each page
- displayable_len - Set the maximum displayable length of text
field in file list
- base_url - Set this to the url of the site (no ending slash)
- title - This is the browser window title and be anything you
want (ex. Mycomany Document Managment System)
- current_version - This is the program version for window title
(This should be set to the current version of the program)
- site_mail - The email address of the administrator of this site.
Users will be told to contact this person if they encounter errors.
- root_username - This variable sets the root username. It must
be set to one of the current users of opendocman. The root user will
be able to access all files and have authority for everything. (ex.
jsmith)
- revision_expiration [integer]- Period in days that
files will expire.
- file_expired_action [1,2,3,4] - Action to take on files
that expire.
- authorization [On, Off] - Turn file moderation on or
off.
- secureurl [On,Off] - Hide the URL contents from prying
eyes
- dataDir - Location of file repository. This should ideally be
outside the Web server root. Make sure the server has permissions
to read/write files in this folder!
- $allowedFileTypes - This is a list of file types that
will be allowed to be added to the repository. This may need some
tweeking depending on what types of files your users have.
When a user is set up as an "admin", they will see an admin menu
in the upper right while they are logged in. There are options for
User, Category, Department, and File Management under this menu item.
Next
Previous
Contents