From c6da50384e06c60e242cb4442abb9c6c9b450674 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Tue, 9 Mar 2010 20:44:27 -0600 Subject: completely removed Plugins from CodeIgniter --- user_guide/helpers/captcha_helper.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user_guide/helpers/captcha_helper.html') diff --git a/user_guide/helpers/captcha_helper.html b/user_guide/helpers/captcha_helper.html index f418823ed..f358af19e 100644 --- a/user_guide/helpers/captcha_helper.html +++ b/user_guide/helpers/captcha_helper.html @@ -88,7 +88,7 @@ CAPTCHA Helper

The "word" is the word that appears in the captcha image, which if not supplied to the function, will be a random string.

-

Using the CAPTCHA plugin

+

Using the CAPTCHA helper

Once loaded you can generate a captcha like this:

@@ -139,7 +139,7 @@ echo $cap['image'];

Here is an example of usage with a database. On the page where the CAPTCHA will be shown you'll have something like this:

-$this->load->plugin('captcha');
+$this->load->helper('captcha');
$vals = array(
    'img_path' => './captcha/',
    'img_url' => 'http://example.com/captcha/'
-- cgit v1.2.3-24-g4f1b