ToastFreeware
/
toast
/
cookiecaptcha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84c7575
)
tyop
author
Brion Vibber
<brion@users.mediawiki.org>
Sun, 29 Jan 2006 00:46:29 +0000
(
00:46
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sun, 29 Jan 2006 00:46:29 +0000
(
00:46
+0000)
FancyCaptcha.php
patch
|
blob
|
history
diff --git
a/FancyCaptcha.php
b/FancyCaptcha.php
index 4a6b438e4ce3ced0161fb1915ec40ec0317f69a1..e6363281d1acb251226fa5490d6a21fb24ca856f 100644
(file)
--- a/
FancyCaptcha.php
+++ b/
FancyCaptcha.php
@@
-106,10
+106,9
@@
class FancyCaptcha extends SimpleCaptcha {
*/
function pickImage() {
global $wgCaptchaDirectory;
- $
pick
= mt_rand( 0, $this->countFiles( $wgCaptchaDirectory ) );
+ $
n
= mt_rand( 0, $this->countFiles( $wgCaptchaDirectory ) );
$dir = opendir( $wgCaptchaDirectory );
- $n = mt_rand( 0, 16 );
$count = 0;
$entry = readdir( $dir );