From c5f99fdcc5c4a918b5b8fe3ddbd56ab25ad1c22b Mon Sep 17 00:00:00 2001 From: Wes Baker Date: Mon, 8 Jul 2013 17:22:21 -0400 Subject: Updating User Guide for 2.1.4. --- application/controllers/welcome.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'application') diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index 21bef43d9..e4570974f 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -7,10 +7,10 @@ class Welcome extends CI_Controller { * * Maps to the following URL * http://example.com/index.php/welcome - * - or - + * - or - * http://example.com/index.php/welcome/index * - or - - * Since this controller is set as the default controller in + * Since this controller is set as the default controller in * config/routes.php, it's displayed at http://example.com/ * * So any other public methods not prefixed with an underscore will @@ -21,6 +21,11 @@ class Welcome extends CI_Controller { { $this->load->view('welcome_message'); } + + public function test() + { + var_dump($this->security->xss_clean("