<?php
/*=====================================================================*\
|| ################################################################### ||
|| # ViewSVN [#]version[#]
|| # --------------------------------------------------------------- # ||
|| # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
|| # This file may not be reproduced in any way without permission. # ||
|| # --------------------------------------------------------------- # ||
|| # User License Agreement at http://www.iris-studios.com/license/ # ||
|| ################################################################### ||
\*=====================================================================*/
error_reporting(E_ALL);
//error_reporting(E_ALL & ~E_NOTICE);
define('ISSO_MT_START', microtime());
// ###################################################################
// configuration file
if (!file_exists('./includes/config.php'))
{
echo 'includes/config.php needs to be present!';
exit;
}
require_once('./includes/config.php');
// ###################################################################
// init isso
define('ISSO_ESCAPE_STRINGS', 1);
define('ISSO_CHECK_POST_REFERER', 1);
require_once($issopath . 'kernel.php');
$viewsvn =& $_isso;
$viewsvn->application = 'ViewSVN';
$viewsvn->apppath = $viewsvn->fetch_sourcepath(getcwd());
$viewsvn->appversion = '[#]version[#]';
$viewsvn->debug = $debug;
$viewsvn->sourcepath = $viewsvn->fetch_sourcepath($issopath);
$viewsvn->load('functions');
$viewsvn->exec_sanitize_data();
// ###################################################################
// handle template system
$viewsvn->load('template_fs');
$template->templatedir = $viewsvn->fetch_sourcepath('./templates/' . $templatedir);
// ###################################################################
// imaginary reporter
require_once('./includes/imaginary.php');
$viewsvn->trigger =& new Imaginary();
// ###################################################################
// load shell subsystem
require_once('./includes/shellcmd.php');
$viewsvn->shell =& new Shell();
// ###################################################################
// setup repository
require_once('./includes/repository.php');
$viewsvn->repos =& new Repository($repository, $iscontainer);
// ###################################################################
// path manager
require_once('./includes/paths.php');
$viewsvn->paths =& new Paths($pathtype);
// ###################################################################
// initialize SVN
require_once('./includes/svnlib.php');
$viewsvn->svn =& new SVNLib($svnpath);
/*=====================================================================*\
|| ###################################################################
|| # $HeadURL$
|| # $Id$
|| ###################################################################
\*=====================================================================*/
?>