From dce88b0b64f2228d652aa7264b1a001eb0fea884 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 9 Jan 2006 17:25:17 +0000 Subject: [PATCH] Updating test files to ISSO2 setup --- dev/conditionaltest.php | 12 ++++++------ dev/xmltest.php | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/dev/conditionaltest.php b/dev/conditionaltest.php index 906b4f3..8c49e5d 100644 --- a/dev/conditionaltest.php +++ b/dev/conditionaltest.php @@ -9,13 +9,13 @@ require_once('../kernel.php'); $isso = new Shared_Object_Framework(); -$isso->apppath = $isso->fetch_sourcepath(getcwd()); -$isso->sourcepath = $isso->fetch_sourcepath($isso->apppath . '../'); -$isso->application = 'Template Test'; -$isso->appversion = '$Id$'; -$isso->debug = true; +$isso->set('apppath', getcwd()); +$isso->set('sourcepath', $isso->get('apppath') . '../'); +$isso->set('application', 'Template Test'); +$isso->set('appversion', '$Id$'); +$isso->set('debug', true); -$isso->load('template'); +$isso->load('template', 'template', true); // ################################################################### diff --git a/dev/xmltest.php b/dev/xmltest.php index 4f42afc..a637e44 100644 --- a/dev/xmltest.php +++ b/dev/xmltest.php @@ -4,14 +4,14 @@ // SVN $Id$ require_once('../kernel.php'); -$isso =& new Shared_Object_Framework(); +$isso = new Shared_Object_Framework(); -$isso->apppath = $isso->fetch_sourcepath(getcwd()); -$isso->sourcepath = $isso->fetch_sourcepath($isso->apppath . '../'); -$isso->application = 'XML Test'; -$isso->appversion = '$Id$'; -$isso->debug = true; -$isso->load('xml'); +$isso->set('apppath', getcwd()); +$isso->set('sourcepath', $isso->get('apppath') . '../'); +$isso->set('application', 'XML Test'); +$isso->set('appversion', '$Id$'); +$isso->set('debug', true); +$isso->load('xml', 'xml', true); echo '
';
 
-- 
2.43.5