diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 2bce4d24d..ff37356be 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -20,18 +20,18 @@ class Context */ public $request_method = 'GET'; - /** - * js callback function name. - * @var string - */ - public $js_callback_func = ''; - /** * Response method.If it's not set, it follows request method. * @var string HTML|XMLRPC|JSON|JS_CALLBACK */ public $response_method = ''; + /** + * js callback function name. + * @var string + */ + public $js_callback_func = ''; + /** * DB info * @var object @@ -45,28 +45,16 @@ class Context public $ftp_info = NULL; /** - * ssl action cache file - * @var array + * site's browser title + * @var string */ - public $sslActionCacheFile = './files/cache/sslCacheFile.php'; - - /** - * List of actions to be sent via ssl (it is used by javascript xml handler for ajax) - * @var array - */ - public $ssl_actions = array(); - - /** - * obejct oFrontEndFileHandler() - * @var object - */ - public $oFrontEndFileHandler; + public $browser_title = ''; /** * script codes in
.. * @var string */ - public $html_header = NULL; + public $html_header = ''; /** * class names of @@ -78,13 +66,13 @@ class Context * codes after * @var string */ - public $body_header = NULL; + public $body_header = ''; /** * class names before * @var string */ - public $html_footer = NULL; + public $html_footer = ''; /** * Meta tags @@ -104,12 +92,6 @@ class Context */ public $canonical_url = ''; - /** - * path of Xpress Engine - * @var string - */ - public $path = ''; - /** * language type - changed by HTTP_USER_AGENT or user's cookie * @var string @@ -122,30 +104,6 @@ class Context */ public $lang = NULL; - /** - * list of loaded languages (to avoid re-loading them) - * @var array - */ - public $loaded_lang_files = array(); - - /** - * site's browser title - * @var string - */ - public $site_title = ''; - - /** - * variables from GET or form submit - * @var mixed - */ - public $get_vars = NULL; - - /** - * variables from user (Context::get, Context::set) - * @var mixed - */ - private static $_user_vars = NULL; - /** * Checks uploaded * @var bool TRUE if attached file exists @@ -158,22 +116,40 @@ class Context */ public $is_site_locked = FALSE; - /** - * Pattern for request vars check - * @var array - */ - public $patterns = array( - '/<\?/iUsm', - '/<\%/iUsm', - '/