sintonia/livesupport/modules/alib/var/example/conf.php

32 lines
1.4 KiB
PHP

<?php
// $Id: conf.php,v 1.1 2004/07/23 00:22:13 tomas Exp $
$config = array(
'dsn' => array( // data source definition
'username' => 'tomash',
'password' => '',
'hostspec' => 'localhost',
'phptype' => 'pgsql',
'database' => 'mdlf'
),
'tblNamePrefix' => 'al_',
# 'tblNamePrefix' => 'gb_',
'RootNode' =>'RootNode',
'objtypes' => array(
'RootNode' => array('Publication'),
'Publication' => array('Issue'),
'Issue' => array('Title', 'Section'),
'Section' => array('Title', 'Image', 'Par')
),
'allowedActions'=> array(
'RootNode' => array('addChilds', 'editPerms', 'read', 'edit', 'delete', 'classes', 'subjects'),
'Publication' => array('addChilds', 'editPerms', 'read', 'edit', 'delete'),
'Issue' => array('addChilds', 'editPerms', 'read', 'edit', 'delete'),
'Section' => array('addChilds', 'editPerms', 'read', 'edit', 'delete'),
'Title' => array('editPerms', 'read', 'edit', 'delete'),
'Image' => array('editPerms', 'read', 'edit', 'delete'),
'Par' => array('editPerms', 'read', 'edit', 'delete'),
'_class' => array('addChilds', 'editPerms', 'read', 'edit', 'delete')
),
'allActions'=> array('editPerms', 'addChilds', 'read', 'edit', 'delete', 'classes', 'subjects')
);
?>