2 /*=====================================================================*\
3 || ################################################################### ||
4 || # ViewSVN [#]version[#]
5 || # --------------------------------------------------------------- # ||
6 || # Copyright ©2002-[#]year[#] by Iris Studios, Inc. All Rights Reserved. # ||
7 || # This file may not be reproduced in any way without permission. # ||
8 || # --------------------------------------------------------------- # ||
9 || # User License Agreement at http://www.iris-studios.com/license/ # ||
10 || ################################################################### ||
11 \*=====================================================================*/
13 error_reporting(E_ALL
);
15 define('ISSO_MT_START', microtime());
17 // ###################################################################
19 if (!file_exists('./config.php'))
21 echo 'includes/config.php needs to be present!';
25 require_once('./config.php');
27 // ###################################################################
29 define('ISSO_ESCAPE_STRINGS', 1);
30 define('ISSO_CHECK_POST_REFERER', 1);
32 require_once($issopath . 'kernel.php');
34 $viewsvn->application
= 'ViewSVN';
35 $viewsvn->apppath
= $viewsvn->fetch_sourcepath(getcwd());
36 $viewsvn->appversion
= '[#]version[#]';
37 $viewsvn->debug
= $debug;
38 $viewsvn->sourcepath
= $viewsvn->fetch_sourcepath($issopath);
40 $viewsvn->load('functions');
41 $viewsvn->exec_sanitize_data();
43 // ###################################################################
45 require_once('./imaginary.php');
46 $viewsvn->trigger
=& new Imaginary();
48 // ###################################################################
49 // load shell subsystem
50 require_once('./shellcmd.php');
51 $viewsvn->shell
=& new Shell();
53 // ###################################################################
55 require_once('./repository.php');
56 $viewsvn->repos
=& new Repository($repository, $iscontainer);
58 /*=====================================================================*\
59 || ###################################################################
62 || ###################################################################
63 \*=====================================================================*/