gunnar: server/kolab-webclient/horde/configuration/horde-3.3.6 10-kolab_conf_base.php, NONE, 1.1 10-kolab_hooks_base.php, NONE, 1.1 10-kolab_prefs_base.php, NONE, 1.1
cvs at kolab.org
cvs at kolab.org
Tue Jan 12 23:16:14 CET 2010
- Previous message: gunnar: server/kolab-webclient/horde Makefile,1.2,1.3
- Next message: gunnar: server/kolab-webclient/horde/templates/horde-3.3.6 webclient-config_hooks.php.template, 1.1, 1.2 webclient-config_mime_drivers.php.template, 1.1, 1.2 webclient-config_motd.php.template, 1.1, 1.2 webclient-config_nls.php.template, 1.1, 1.2 webclient-config_prefs.php.template, 1.1, 1.2 webclient-config_registry.php.template, 1.1, 1.2 webclient-kolab-conf.template, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: gunnar
Update of /kolabrepository/server/kolab-webclient/horde/configuration/horde-3.3.6
In directory doto:/tmp/cvs-serv4327/configuration/horde-3.3.6
Added Files:
10-kolab_conf_base.php 10-kolab_hooks_base.php
10-kolab_prefs_base.php
Log Message:
Added basic configuration files. The conf file still needs a few variables that can differ per distribution.
--- NEW FILE: 10-kolab_conf_base.php ---
<?php
$conf['debug_level'] = E_ALL & ~E_DEPRECATED;
$conf['tmpdir'] = dirname(__FILE__) . '/../../../../webclient_data/tmp/';
$conf['sql']['database'] = dirname(__FILE__) . '/../../../../webclient_data/storage/horde.db';
$conf['sql']['mode'] = '0640';
$conf['sql']['charset'] = 'utf-8';
$conf['sql']['phptype'] = 'sqlite';
$conf['auth']['driver'] = 'kolab';
$conf['log']['priority'] = PEAR_LOG_DEBUG;
$conf['log']['ident'] = 'HORDE';
$conf['log']['params'] = array();
$conf['log']['name'] = dirname(__FILE__) . '/../../../../webclient_data/log/horde.log';
$conf['log']['params']['append'] = true;
$conf['log']['type'] = 'file';
$conf['log']['enabled'] = true;
$conf['prefs']['driver'] = 'file';
$conf['prefs']['params']['directory'] = dirname(__FILE__) . '/../../../../webclient_data/storage/';
$conf['alarms']['params']['driverconfig'] = 'horde';
$conf['alarms']['params']['ttl'] = 300;
$conf['alarms']['driver'] = 'sql';
$conf['group']['driver'] = 'kolab';
$conf['group']['cache'] = true;
$conf['perms']['driverconfig'] = 'horde';
$conf['perms']['driver'] = 'sql';
$conf['share']['driver'] = 'kolab';
$conf['share']['cache'] = true;
$conf['cache']['driver'] = 'file';
$conf['cache']['params']['dir'] = $conf['tmpdir'];
$conf['cache']['params']['sub'] = 0;
$conf['cache']['default_lifetime'] = 1800;
$conf['mailer']['params']['host'] = 'localhost';
$conf['mailer']['params']['port'] = 25;
$conf['mailer']['params']['auth'] = true;
$conf['mailer']['type'] = 'smtp';
$conf['vfs']['type'] = 'file';
$conf['vfs']['params']['vfsroot'] = dirname(__FILE__) . '/../../../../webclient_data/storage';
$conf['kolab']['enabled'] = true;
$conf['kolab']['ldap']['port'] = 389;
$conf['kolab']['imap']['port'] = 143;
$conf['kolab']['imap']['sieveport'] = 2000;
$conf['kolab']['imap']['cache_folders'] = true;
$conf['kolab']['smtp']['server'] = 'localhost';
$conf['kolab']['smtp']['port'] = 25;
$conf['kolab']['misc']['multidomain'] = false;
$conf['kolab']['cache_folders'] = true;
$conf['kolab']['freebusy']['server'] = 'https://localhost/freebusy';
--- NEW FILE: 10-kolab_hooks_base.php ---
<?php
if (!function_exists('_prefs_hook_from_addr')) {
function _prefs_hook_from_addr()
{
require_once 'Horde/Kolab/Session.php';
$session = Horde_Kolab_Session::singleton();
if (!is_a($session, 'PEAR_Error')) {
return $session->user_mail;
}
return '';
}
}
if (!function_exists('_prefs_hook_fullname')) {
function _prefs_hook_fullname()
{
require_once 'Horde/Kolab/Session.php';
$session = Horde_Kolab_Session::singleton();
if (!is_a($session, 'PEAR_Error')) {
return $session->user_name;
}
return '';
}
}
--- NEW FILE: 10-kolab_prefs_base.php ---
<?php
// user full name for From: line
// If you lock this preference, you must specify a value or a hook for it in
// horde/config/hooks.php.
$_prefs['fullname'] = array(
'value' => '',
'locked' => false,
'shared' => true,
'hook' => true,
'type' => 'text',
'desc' => _("Your full name:")
);
// user preferred email address for From: line
// If you lock this preference, you must specify a value or a hook for it in
// horde/config/hooks.php.
$_prefs['from_addr'] = array(
'value' => '',
'locked' => false,
'shared' => true,
'hook' => true,
'type' => 'text',
'desc' => _("Your From: address:")
);
// UI theme
$_prefs['theme'] = array(
'value' => 'silver',
'locked' => false,
'shared' => true,
'type' => 'select',
'desc' => _("Select your color scheme.")
);
- Previous message: gunnar: server/kolab-webclient/horde Makefile,1.2,1.3
- Next message: gunnar: server/kolab-webclient/horde/templates/horde-3.3.6 webclient-config_hooks.php.template, 1.1, 1.2 webclient-config_mime_drivers.php.template, 1.1, 1.2 webclient-config_motd.php.template, 1.1, 1.2 webclient-config_nls.php.template, 1.1, 1.2 webclient-config_prefs.php.template, 1.1, 1.2 webclient-config_registry.php.template, 1.1, 1.2 webclient-kolab-conf.template, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the commits
mailing list