set('application', 'ViewSVN'); $viewsvn->set('apppath', getcwd()); $viewsvn->set('appversion', '[#]version[#]'); $viewsvn->set('debug', $debug); $viewsvn->load('functions', 'funct', true); define('ISSO_DB_LAYER', 'db_mysql'); $viewsvn->load('db_mysql', 'db', true); $db->connect($conf['db']['server'], $conf['db']['user'], $conf['db']['pass'], $conf['db']['name'], 0); $viewsvn->load('xml', 'xml', true); // ################################################################### // localization stystem $viewsvn->load('localize', 'lang', true); // ################################################################### // handle template system $viewsvn->load('template_fs', 'template', true); $template->set('templatedir', './templates/' . $conf['paths']['templateset']); $template->set('extension', 'tpl'); // ################################################################### // load options $viewsvn->svnpath = $conf['paths']['svn']; require_once('./includes/svncommon.php'); // ################################################################### // imaginary reporter require_once('./includes/imaginary.php'); $viewsvn->trigger =& new Imaginary(); // ################################################################### // setup repository require_once('./includes/repository.php'); $viewsvn->repos =& new Repository($conf['repository']['path'], $conf['repository']['iscontainer']); // ################################################################### // path manager require_once('./includes/paths.php'); $viewsvn->path = $conf['paths']['web']; /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>