gunnar: server/kolab-webclient-h4/horde-h4/configuration/horde-h4-c3570961b45053e55147c5a77b32caff87edef8f 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 Feb 9 11:25:31 CET 2010


Author: gunnar

Update of /kolabrepository/server/kolab-webclient-h4/horde-h4/configuration/horde-h4-c3570961b45053e55147c5a77b32caff87edef8f
In directory doto:/tmp/cvs-serv32725/configuration/horde-h4-c3570961b45053e55147c5a77b32caff87edef8f

Added Files:
	10-kolab_conf_base.php 10-kolab_hooks_base.php 
	10-kolab_prefs_base.php 
Log Message:
Add the basic horde H4 application.

--- 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.")
);




More information about the commits mailing list