From ff845f94cc8876bc6c23c2f55b695bc569038512 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Thu, 26 Jun 2008 17:05:55 +0000 Subject: changed your-site.com to example.com doc-wide --- system/plugins/captcha_pi.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/plugins') diff --git a/system/plugins/captcha_pi.php b/system/plugins/captcha_pi.php index baa0a8dc5..0c8d7d29c 100644 --- a/system/plugins/captcha_pi.php +++ b/system/plugins/captcha_pi.php @@ -27,7 +27,7 @@ Once loaded you can generate a captcha like this: $vals = array( 'word' => 'Random word', 'img_path' => './captcha/', - 'img_url' => 'http://www.your-site.com/captcha/', + 'img_url' => 'http://example.com/captcha/', 'font_path' => './system/fonts/texb.ttf', 'img_width' => '150', 'img_height' => 30, @@ -69,7 +69,7 @@ The create_captcha() function returns an associative array with this data: ) The "image" is the actual image tag: - + The "time" is the micro timestamp used as the image name without the file extension. It will be a number like this: 1139612155.3422 @@ -104,7 +104,7 @@ On the page where the captcha will be shown you'll have something like this: $this->load->plugin('captcha'); $vals = array( 'img_path' => './captcha/', - 'img_url' => 'http://www.your-site.com/captcha/' + 'img_url' => 'http://example.com/captcha/' ); $cap = create_captcha($vals); -- cgit v1.2.3-24-g4f1b