/** * get config file default values * * @return array */ public function getConfigDefaults() { $defaultPath = Setup_Core::guessTempDir(); $result = array('database' => array('host' => 'localhost', 'dbname' => 'tine20', 'username' => 'tine20', 'password' => '', 'adapter' => 'pdo_mysql', 'tableprefix' => 'tine20_', 'port' => 3306), 'logger' => array('filename' => $defaultPath . DIRECTORY_SEPARATOR . 'tine20.log', 'priority' => '5'), 'caching' => array('active' => 1, 'lifetime' => 3600, 'backend' => 'File', 'path' => $defaultPath), 'tmpdir' => $defaultPath, 'session' => array('path' => Tinebase_Session::getSessionDir(), 'liftime' => 86400)); return $result; }