mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 22:47:19 +00:00
- added more configuration variables
This commit is contained in:
parent
238425a4c3
commit
5334eb730f
|
@ -16,16 +16,6 @@
|
||||||
// along with this program; if not, write to the Free Software
|
// along with this program; if not, write to the Free Software
|
||||||
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
|
||||||
/**
|
|
||||||
* Implementation of LetoDMS_DMS
|
|
||||||
*
|
|
||||||
* @category DMS
|
|
||||||
* @package LetoDMЅ
|
|
||||||
* @author Uwe Steinmann <uwe@steinmann.cx>
|
|
||||||
* @copyright Copyright (C) 2010, Uwe Steinmann
|
|
||||||
* @version Release: @package_version@
|
|
||||||
*/
|
|
||||||
|
|
||||||
require_once("inc.ClassFolder.php");
|
require_once("inc.ClassFolder.php");
|
||||||
require_once("inc.ClassDocument.php");
|
require_once("inc.ClassDocument.php");
|
||||||
require_once("inc.ClassGroup.php");
|
require_once("inc.ClassGroup.php");
|
||||||
|
@ -88,6 +78,12 @@ class LetoDMS_DMS {
|
||||||
*/
|
*/
|
||||||
public $rootFolderID;
|
public $rootFolderID;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var boolean $enableGuestLogin set to true if guest login is allowed
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
public $enableGuestLogin;
|
||||||
|
|
||||||
function __construct($db, $contentDir, $contentOffsetDir) { /* {{{ */
|
function __construct($db, $contentDir, $contentOffsetDir) { /* {{{ */
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
$this->contentDir = $contentDir;
|
$this->contentDir = $contentDir;
|
||||||
|
@ -97,6 +93,10 @@ class LetoDMS_DMS {
|
||||||
$this->guestID = 2;
|
$this->guestID = 2;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
function getDB() { /* {{{ */
|
||||||
|
return $this->db;
|
||||||
|
} /* }}} */
|
||||||
|
|
||||||
function setRootFolderID($id) { /* {{{ */
|
function setRootFolderID($id) { /* {{{ */
|
||||||
$this->rootFolderID = $id;
|
$this->rootFolderID = $id;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
@ -109,6 +109,14 @@ class LetoDMS_DMS {
|
||||||
$this->guestID = $id;
|
$this->guestID = $id;
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
function setEnableGuestLogin($enable) { /* {{{ */
|
||||||
|
$this->enableGuestLogin = $enable;
|
||||||
|
} /* }}} */
|
||||||
|
|
||||||
|
function setEnableAdminRevApp($enable) { /* {{{ */
|
||||||
|
$this->enableAdminRevApp = $enable;
|
||||||
|
} /* }}} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Login as a user
|
* Login as a user
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user