summaryrefslogtreecommitdiffstats
path: root/system/plugins/captcha_pi.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-06-26 19:05:55 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-06-26 19:05:55 +0200
commitff845f94cc8876bc6c23c2f55b695bc569038512 (patch)
tree758d7880dabce6b0c89eb79bc11a60699c52b2fb /system/plugins/captcha_pi.php
parent85f66ea6d2291c77a937305457592e24c85425ae (diff)
changed your-site.com to example.com doc-wide
Diffstat (limited to 'system/plugins/captcha_pi.php')
-rw-r--r--system/plugins/captcha_pi.php6
1 files changed, 3 insertions, 3 deletions
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:
-<img src="http://your-site.com/captcha/12345.jpg" width="140" height="50" />
+<img src="http://example.com/captcha/12345.jpg" width="140" height="50" />
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);