From 22f618e6fc9be45016dc1671157b8096a296d12c Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 12 Oct 2006 05:11:44 +0000 Subject: [PATCH] Removing unspecific get/set calls --- api.php | 4 ++-- installer.php | 4 ++-- printer.php | 2 +- printer_navigation.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api.php b/api.php index 786a6f9..888a750 100644 --- a/api.php +++ b/api.php @@ -572,12 +572,12 @@ class API continue; } - if (!file_exists($this->registry->get('apppath') . $info[F_RELATION][F_RELATION_FILE])) + if (!file_exists($this->registry->getAppPath() . $info[F_RELATION][F_RELATION_FILE])) { trigger_error("Could not load the relation file for field '$field'"); } - require_once($this->registry->get('apppath') . $info[F_RELATION][F_RELATION_FILE]); + require_once($this->registry->getAppPath() . $info[F_RELATION][F_RELATION_FILE]); $this->relations["$field"] = new $info[F_RELATION][F_RELATION_CLASS]($this->registry); $this->relations["$field"]->set(($info[F_RELATION][F_RELATION_ALTFIELD] ? $info[F_RELATION][F_RELATION_ALTFIELD] : $field), $value); diff --git a/installer.php b/installer.php index 1043e3b..a89246f 100644 --- a/installer.php +++ b/installer.php @@ -34,14 +34,14 @@ */ function page_start() { - require_once($GLOBALS['isso:callback']->get('sourcepath') . 'installer.css.php'); + require_once($GLOBALS['isso:callback']getSourcePath() . 'installer.css.php'); ?> - <?= $GLOBALS['isso:callback']->get('application') ?> Installer + <?= $GLOBALS['isso:callback']->getApplication() ?> Installer