Changeset 263 for captcha/trunk/plugins/captcha/captcha.pl
- Timestamp:
- 10/17/06 10:40:34 (2 years ago)
- Files:
-
- 1 modified
-
captcha/trunk/plugins/captcha/captcha.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
captcha/trunk/plugins/captcha/captcha.pl
r261 r263 17 17 use Authen::Captcha; 18 18 use base 'MT::Plugin'; 19 our $VERSION = '0.1 2';19 our $VERSION = '0.13'; 20 20 21 21 my $dirname = dirname(__FILE__); … … 60 60 } 61 61 62 my $q = $app->{query};63 my $code = $q->param('captcha_code') or return 0;64 my $md5 = $q->param('captcha_md5') or return 0;65 66 62 # load config 67 63 my $cfg = $plugin->get_config_hash('blog:' . $blog->id); … … 69 65 # check if captcha-test disabled 70 66 return 1 unless $cfg->{captcha_enable}; 67 68 my $q = $app->{query}; 69 my $code = $q->param('captcha_code') or return 0; 70 my $md5 = $q->param('captcha_md5') or return 0; 71 71 72 72 # configure Auth::Captcha
![(please configure the [header_logo] section in trac.ini)](/public/chrome/common/trac_banner.png)