From 1f1f9b89fd2e698d9c59cd604027f1cb98fbe156 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 16 Aug 2006 03:57:19 +0000 Subject: [PATCH] Removing things that have been implemented elsewhere --- kernel.php | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) diff --git a/kernel.php b/kernel.php index 4b9850d..849a8bf 100644 --- a/kernel.php +++ b/kernel.php @@ -156,42 +156,6 @@ class ISSO */ private $version = '[#]issoversion[#]'; - /** - * Location of ISSO, used for internal linking - * @var string - */ - private $sourcepath = ''; - - /** - * Path of the current application - * @var string - */ - private $apppath = ''; - - /** - * Web path used to get the web location of the installation of ISSO; only used for Printer module - * @var string - */ - private $webpath = ''; - - /** - * Name of the current application - * @var string - */ - private $application = ''; - - /** - * Version of the current application - * @var string - */ - private $appversion = ''; - - /** - * Whether debug mode is on or off - * @var bool - */ - private $debug = false; - /** * List of all active debug messages * @var array @@ -216,20 +180,6 @@ class ISSO */ private $magicquotes = 0; - /** - * Array of user-specified fields that are required for ISSO initialization - * fieldname => array(REQUIRED, CALLBACK PARSER, SET) - * @var array - */ - private $fields = array( - 'sourcepath' => array(REQ_YES, 'fetch_sourcepath', false), - 'apppath' => array(REQ_YES, 'fetch_sourcepath', false), - 'webpath' => array(REQ_NO, 'fetch_sourcepath', false), - 'application' => array(REQ_YES, null, false), - 'appversion' => array(REQ_NO, null, false), - 'debug' => array(REQ_NO, null, false) - ); - // ################################################################### /** * Constructor @@ -249,10 +199,6 @@ class ISSO $this->debug('magic_quotes_gpc = ' . $this->magicquotes); $this->debug('register_globals = ' . ini_get('register_globals')); - // attempt to set the sourcepath - $path = call_user_func('debug_backtrace'); - $this->set('sourcepath', str_replace('kernel.php', '', $path[0]['file'])); - // start input sanitize using variable_order GPC if (!defined('ISSO_NO_INPUT_SANITIZE')) { -- 2.43.5