mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
- some beatifying (no code change)
This commit is contained in:
parent
1fe1a04a19
commit
6ae534b931
|
@ -26,7 +26,8 @@ class Settings
|
|||
// Message to display at the bottom of every page.
|
||||
var $_footNote = "letoDMS free document management system - www.letodms.com";
|
||||
|
||||
// if true the disclaimer message the lang.inc files will be print on the bottom of the page
|
||||
// if true the disclaimer message the lang.inc files will be print
|
||||
// on the bottom of the page
|
||||
var $_printDisclaimer = true;
|
||||
|
||||
// Default page on login. Defaults to out/out.ViewFolder.php
|
||||
|
@ -56,6 +57,7 @@ class Settings
|
|||
var $_rootDir = "/var/www/letoDMS-3.0.0/";
|
||||
|
||||
// Path to LetoDMS_Core
|
||||
// If left empty LetoDMS_Core will used from the standard include path
|
||||
var $_coreDir = "/var/www/LetoDMS_Core-3.0.0/";
|
||||
|
||||
// The relative path in the URL, after the domain part. Do not include the
|
||||
|
@ -81,10 +83,12 @@ class Settings
|
|||
// default language (name of a subfolder in folder "languages")
|
||||
var $_language = "English";
|
||||
|
||||
// users are notified about document-changes that took place within the last $_updateNotifyTime seconds
|
||||
var $_updateNotifyTime = 86400; //means 24 hours
|
||||
// users are notified about document-changes that took place within the
|
||||
// last $_updateNotifyTime seconds
|
||||
var $_updateNotifyTime = 86400; // means 24 hours
|
||||
|
||||
// files with one of the following endings can be viewed online (USE ONLY LOWER CASE CHARACTERS)
|
||||
// files with one of the following endings can be viewed online
|
||||
// (USE ONLY LOWER CASE CHARACTERS)
|
||||
// to disable: var $_viewOnlineFileTypes = array();
|
||||
var $_viewOnlineFileTypes = array(".txt", ".text", ".html", ".htm", ".pdf", ".gif", ".png", ".jpg", ".jpeg");
|
||||
|
||||
|
@ -102,31 +106,32 @@ class Settings
|
|||
|
||||
// enable/disable group and user view for all users
|
||||
var $_enableUsersView = true;
|
||||
// false to don't list administrator as reviewer/approver
|
||||
|
||||
// enable/disable listing administrator as reviewer/approver
|
||||
var $_enableAdminRevApp = false;
|
||||
|
||||
// the name of the versioning info file created by the backup tool
|
||||
var $_versioningFileName = "versioning_info.txt";
|
||||
|
||||
// set false to disable log system
|
||||
// enable/disable log system
|
||||
var $_logFileEnable = true;
|
||||
|
||||
// the log file rotation (h=hourly, d=daily, m=monthly)
|
||||
var $_logFileRotation = "d";
|
||||
|
||||
// enable users images
|
||||
// enable/disable users images
|
||||
var $_enableUserImage = false;
|
||||
|
||||
// enable calendar
|
||||
// enable/disable calendar
|
||||
var $_enableCalendar = true;
|
||||
|
||||
// calendar default view ("w" for week,"m" for month,"y" for year)
|
||||
var $_calendarDefaultView = "y";
|
||||
|
||||
// first day of the week (0=sunday, 6=saturday)
|
||||
// first day of the week (0=sunday, 1=monday, 6=saturday)
|
||||
var $_firstDayOfWeek = 0;
|
||||
|
||||
// false to don't show the folder tree
|
||||
// enable/disable display of the folder tree
|
||||
var $_enableFolderTree = true;
|
||||
|
||||
// 0 to start with tree hidden
|
||||
|
@ -134,35 +139,36 @@ class Settings
|
|||
// 2 to start with tree shown fully expanded
|
||||
var $_expandFolderTree = 1;
|
||||
|
||||
// if true user cannot edit his own profile
|
||||
// enable/disable editing of users own profile
|
||||
var $_disableSelfEdit = false;
|
||||
|
||||
// if enabled admin can login only by specified IP addres
|
||||
// leave ampty to avoid the control
|
||||
// leave ampty to turn off access control
|
||||
// NOTE: works only with local autentication (no LDAP)
|
||||
var $_adminIP = "";
|
||||
|
||||
// -------------------------------- Database-Setup --------------------------------------------
|
||||
// ----------- Database-Setup --------------------------------------------
|
||||
|
||||
//Path to adodb. This is the directory containing the adodb directory
|
||||
// Path to adodb. This is the directory containing the adodb directory
|
||||
// If left empty adodb will be used from the standard include path
|
||||
var $_ADOdbPath = "/var/www/letoDMS-1.10/";
|
||||
|
||||
//DB-Driver used by adodb (see adodb-readme)
|
||||
// DB-Driver used by adodb (see adodb-readme)
|
||||
var $_dbDriver = "mysql";
|
||||
|
||||
//DB-Server
|
||||
// DB-Server
|
||||
var $_dbHostname = "localhost";
|
||||
|
||||
//database where the tables for mydms are stored (optional - see adodb-readme)
|
||||
// database where the tables for mydms are stored (optional - see adodb-readme)
|
||||
var $_dbDatabase = "letodms";
|
||||
|
||||
//username for database-access
|
||||
// username for database-access
|
||||
var $_dbUser = "letodms";
|
||||
|
||||
//password for database-access
|
||||
// password for database-access
|
||||
var $_dbPass = "letodms";
|
||||
|
||||
// -------------------------------- LDAP Authentication Setup --------------------------------------------
|
||||
// --- LDAP Authentication Setup -----------------------------------------
|
||||
|
||||
// var $_ldapHost = ""; // URIs are supported, e.g.: ldaps://ldap.host.com
|
||||
// var $_ldapPort = 389; // Optional.
|
||||
|
@ -170,12 +176,12 @@ class Settings
|
|||
|
||||
function Settings()
|
||||
{
|
||||
//files with one of the following endings will be converted with the given commands
|
||||
//for windows users
|
||||
// files with one of the following endings will be converted with the
|
||||
// given commands for windows users
|
||||
$this->_convertFileTypes = array(".doc" => "cscript \"" . $this->_rootDir."op/convert_word.js\" {SOURCE} {TARGET}",
|
||||
".xls" => "cscript \"".$this->_rootDir."op/convert_excel.js\" {SOURCE} {TARGET}",
|
||||
".ppt" => "cscript \"".$this->_rootDir."op/convert_pp.js\" {SOURCE} {TARGET}");
|
||||
// For linux users
|
||||
// uncomment the next line for linux users
|
||||
// $this->_convertFileTypes = array(".doc" => "mswordview -o {TARGET} {SOURCE}");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user