protected function _compile_config() { $output = array(); foreach ($this->CI->config->config as $config => $val) { if (is_array($val)) { $val = print_r($val, TRUE); } $output[$config] = htmlspecialchars($val); } return $output; }