From 2cb1563f63386b35a69e460051aa9b4a2851d104 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Wed, 30 May 2012 07:30:44 -0400 Subject: [PATCH] - Added (clickable) placeholders to client messaging function. - Added check so that the client password isn't inserted into the message (for security reasons). --- interface/lib/classes/getconf.inc.php | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/interface/lib/classes/getconf.inc.php b/interface/lib/classes/getconf.inc.php index 1882061..12059ac 100644 --- a/interface/lib/classes/getconf.inc.php +++ b/interface/lib/classes/getconf.inc.php @@ -47,12 +47,10 @@ public function get_global_config($section = '') { global $app; - if(isset($this->config['global'])) { + if(!isset($this->config['global'])) { $app->uses('ini_parser'); $tmp = $app->db->queryOneRecord('SELECT config FROM sys_ini WHERE sysini_id = 1'); $this->config['global'] = $app->ini_parser->parse_ini_string(stripslashes($tmp['config'])); - } else { - $this->config['global'] = NULL; } return ($section == '') ? $this->config['global'] : $this->config['global'][$section]; } -- Gitblit v1.9.1