From 8a7f92ff4f948696ba1befa5369d5bee5089157a Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Fri, 2 Dec 2005 20:46:49 +0000 Subject: [PATCH] Make ViewSVN use ISSO2 --- includes/init.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/init.php b/includes/init.php index badb320..38c5a44 100644 --- a/includes/init.php +++ b/includes/init.php @@ -40,19 +40,19 @@ define('ISSO_ESCAPE_STRINGS', 1); define('ISSO_CHECK_POST_REFERER', 1); require_once($issopath . 'kernel.php'); -$viewsvn =& $_isso; +$viewsvn = new Shared_Object_Framework(); $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->load('functions', 'funct', true); $viewsvn->exec_sanitize_data(); // ################################################################### // handle template system -$viewsvn->load('template_fs'); +$viewsvn->load('template_fs', 'template', true); $template->templatedir = $viewsvn->fetch_sourcepath('./templates/' . $templatedir); // ################################################################### -- 2.22.5