From 7898de2589563b77ac52048d4af83b8656d8b2cc Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:25:52 +0100 Subject: [PATCH 01/11] Added tinyboard integration stuff --- inc/config.php | 2 + js/imgcaptcha.js | 16 ++++++ templates/post_form.html | 15 +++++ templates/post_form.html~ | 136 ++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 169 insertions(+) create mode 100644 js/imgcaptcha.js create mode 100644 templates/post_form.html~ diff --git a/inc/config.php b/inc/config.php index f4951a40..c657cd82 100644 --- a/inc/config.php +++ b/inc/config.php @@ -227,6 +227,8 @@ 'embed', 'recaptcha_challenge_field', 'recaptcha_response_field', + 'imgcaptcha_hash', + 'imgcaptcha_verify', 'spoiler', 'quick-reply' ); diff --git a/js/imgcaptcha.js b/js/imgcaptcha.js new file mode 100644 index 00000000..dd313fad --- /dev/null +++ b/js/imgcaptcha.js @@ -0,0 +1,16 @@ +//function obecnyCzas() { +// return Math.round(new Date().getTime() / 1000); +//} + +function imgcaptcha_odswiezKapcze() { + $.get("/inc/imgcaptcha_p.php", function(data) { + $("#imgcaptcha_hash").val(data); + $("#imgcaptcha_img").prop("src","/inc/imgcaptcha_im.php?cr=" + data); + }); +} +//function resetujKapcze() { +// $("#imgcaptcha_img").prop("src","/zakrytek.png"); +//} +//$(document).ready(function(){ +// //resetujKapcze(); - to nie powinno byc na razie potrzebne +//}); diff --git a/templates/post_form.html b/templates/post_form.html index 8b7350c7..af8b22a7 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -58,6 +58,21 @@ {% endif %} + {% if config.imgcaptcha %} + + + {% trans %}Verification{% endtrans %} + {{ antibot.html() }} + + + +
+ {% config.imgcaptcha_question %}
+ Odswiez + {{ antibot.html() }} + + + {% endif %} {% trans %}File{% endtrans %} diff --git a/templates/post_form.html~ b/templates/post_form.html~ new file mode 100644 index 00000000..a77b9872 --- /dev/null +++ b/templates/post_form.html~ @@ -0,0 +1,136 @@ +
+{{ antibot.html() }} +{% if id %}{% endif %} +{{ antibot.html() }} + +{{ antibot.html() }} +{% if mod %}{% endif %} + + {% if not config.field_disable_name or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} + + + {% endif %} + {% if not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} + + + {% endif %} + + + + + + + + + {% if config.recaptcha %} + + + + + {% endif %} + {% if config.imgcaptcha %} + + + + + {% endif %} + + + + + {% if config.enable_embedding %} + + + + + {% endif %} + {% if mod %} + + + + + {% endif %} + {% if not config.field_disable_password or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} + + + {% endif %} +
+ {% trans %}Name{% endtrans %} + {{ antibot.html() }} + + + {{ antibot.html() }} +
+ {% trans %}Email{% endtrans %} + {{ antibot.html() }} + + + {{ antibot.html() }} +
+ {% trans %}Subject{% endtrans %} + {{ antibot.html() }} + + + {% if config.spoiler_images %} {% endif %} +
+ {% trans %}Comment{% endtrans %} + {{ antibot.html() }} + + + {{ antibot.html() }} +
+ {% trans %}Verification{% endtrans %} + {{ antibot.html() }} + + + {{ antibot.html() }} +
+ {% trans %}Verification{% endtrans %} + {{ antibot.html() }} + + +
+ {% config.imgcaptcha_question %}
+ Odswiez + {{ antibot.html() }} +
+ {% trans %}File{% endtrans %} + + + {{ antibot.html() }} +
+ {% trans %}Embed{% endtrans %} + {{ antibot.html() }} + + + {{ antibot.html() }} +
+ {% trans %}Flags{% endtrans %} + + {% if not id and post.mod|hasPermission(config.mod.sticky, board.uri) %}
+ +
+
{% endif %} + {% if not id and post.mod|hasPermission(config.mod.lock, board.uri) %}
+
+ +
{% endif %} + {% if post.mod|hasPermission(config.mod.rawhtml, board.uri) %}
+
+ +
{% endif %} +
+ {% trans %}Password{% endtrans %} + {{ antibot.html() }} + + + {% trans %}(For file deletion.){% endtrans %} + {{ antibot.html() }} +
+{{ antibot.html(true) }} + +
+ + From c7f865b54feeca1ab459ab4a48bd22ba6d299bbd Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:26:00 +0100 Subject: [PATCH 02/11] removed junk --- templates/post_form.html~ | 136 ---------------------------------------------- 1 file changed, 136 deletions(-) delete mode 100644 templates/post_form.html~ diff --git a/templates/post_form.html~ b/templates/post_form.html~ deleted file mode 100644 index a77b9872..00000000 --- a/templates/post_form.html~ +++ /dev/null @@ -1,136 +0,0 @@ -
-{{ antibot.html() }} -{% if id %}{% endif %} -{{ antibot.html() }} - -{{ antibot.html() }} -{% if mod %}{% endif %} - - {% if not config.field_disable_name or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} - - - {% endif %} - {% if not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} - - - {% endif %} - - - - - - - - - {% if config.recaptcha %} - - - - - {% endif %} - {% if config.imgcaptcha %} - - - - - {% endif %} - - - - - {% if config.enable_embedding %} - - - - - {% endif %} - {% if mod %} - - - - - {% endif %} - {% if not config.field_disable_password or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} - - - {% endif %} -
- {% trans %}Name{% endtrans %} - {{ antibot.html() }} - - - {{ antibot.html() }} -
- {% trans %}Email{% endtrans %} - {{ antibot.html() }} - - - {{ antibot.html() }} -
- {% trans %}Subject{% endtrans %} - {{ antibot.html() }} - - - {% if config.spoiler_images %} {% endif %} -
- {% trans %}Comment{% endtrans %} - {{ antibot.html() }} - - - {{ antibot.html() }} -
- {% trans %}Verification{% endtrans %} - {{ antibot.html() }} - - - {{ antibot.html() }} -
- {% trans %}Verification{% endtrans %} - {{ antibot.html() }} - - -
- {% config.imgcaptcha_question %}
- Odswiez - {{ antibot.html() }} -
- {% trans %}File{% endtrans %} - - - {{ antibot.html() }} -
- {% trans %}Embed{% endtrans %} - {{ antibot.html() }} - - - {{ antibot.html() }} -
- {% trans %}Flags{% endtrans %} - - {% if not id and post.mod|hasPermission(config.mod.sticky, board.uri) %}
- -
-
{% endif %} - {% if not id and post.mod|hasPermission(config.mod.lock, board.uri) %}
-
- -
{% endif %} - {% if post.mod|hasPermission(config.mod.rawhtml, board.uri) %}
-
- -
{% endif %} -
- {% trans %}Password{% endtrans %} - {{ antibot.html() }} - - - {% trans %}(For file deletion.){% endtrans %} - {{ antibot.html() }} -
-{{ antibot.html(true) }} - -
- - From 547b97ade57ac710ea58275e073b02fd88aba745 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:28:10 +0100 Subject: [PATCH 03/11] added config entries --- inc/config.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/inc/config.php b/inc/config.php index c657cd82..b4039061 100644 --- a/inc/config.php +++ b/inc/config.php @@ -264,6 +264,11 @@ $config['recaptcha_public'] = '6LcXTcUSAAAAAKBxyFWIt2SO8jwx4W7wcSMRoN3f'; $config['recaptcha_private'] = '6LcXTcUSAAAAAOGVbVdhmEM1_SyRF4xTKe8jbzf_'; + $config['imgcaptcha'] = false; + $config['imgcaptcha_key'] = "cos losowego"; + $config['imgcaptcha_list'] = "/sciezka/do/pliku.txt"; + $config['imgcaptcha_images'] = "/sciezka/do/obrazkow"; // without a slash at the end + $config['imgcaptcha_question'] = "Was ist das?"; /* * ==================== * Post settings From 549ecc200e16789f5b0cde8b38b0c4a70759da1f Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:38:49 +0100 Subject: [PATCH 04/11] added imgcaptcha files --- inc/config.php | 4 ++ inc/ic-encrypt.php | 39 +++++++++++++++ inc/imgcaptcha.php | 126 +++++++++++++++++++++++++++++++++++++++++++++++ templates/post_form.html | 2 +- 4 files changed, 170 insertions(+), 1 deletion(-) create mode 100644 inc/ic-encrypt.php create mode 100644 inc/imgcaptcha.php diff --git a/inc/config.php b/inc/config.php index b4039061..ff4637ec 100644 --- a/inc/config.php +++ b/inc/config.php @@ -269,6 +269,10 @@ $config['imgcaptcha_list'] = "/sciezka/do/pliku.txt"; $config['imgcaptcha_images'] = "/sciezka/do/obrazkow"; // without a slash at the end $config['imgcaptcha_question'] = "Was ist das?"; + $config['imgcaptcha_time_limit'] = 90; // Kapcza wazna przez 90 sekund po wejsciu + $config['imgcaptcha_filler'] = "/plik/kliknijmie.png"; + $config['imgcaptcha_width'] = 128; + $config['imgcaptcha_height'] = 96; /* * ==================== * Post settings diff --git a/inc/ic-encrypt.php b/inc/ic-encrypt.php new file mode 100644 index 00000000..c0f499bd --- /dev/null +++ b/inc/ic-encrypt.php @@ -0,0 +1,39 @@ +skey, $text, MCRYPT_MODE_ECB, $iv); + return trim($this->safe_b64encode($crypttext)); + } + + public function decode($value){ + if(!$value){return false;} + $crypttext = $this->safe_b64decode($value); + $iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB); + $iv = mcrypt_create_iv($iv_size, MCRYPT_RAND); + $decrypttext = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $this->skey, $crypttext, MCRYPT_MODE_ECB, $iv); + return trim($decrypttext); + } +} +?> diff --git a/inc/imgcaptcha.php b/inc/imgcaptcha.php new file mode 100644 index 00000000..dae42752 --- /dev/null +++ b/inc/imgcaptcha.php @@ -0,0 +1,126 @@ +255) { return 255; } + if($a<0) { return 0; } + return $a; + } + function randString($length, $charset='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+=') + { + $str = ''; + $count = strlen($charset); + while ($length--) { + $str .= $charset[rand(0, $count-1)]; + } + return $str; + } + function generateCaptchaHash() { + $lines = getImages(); + $pick = pickImage($lines); + $enctext = $pick . ",," . time() . ",," . $_SERVER["REMOTE_ADDR"] . ",," . randString(12); + $converter = new Encryption; + return $converter->encode($enctext); + } + function ac_verifyHash($enctext, $output) { + //print "VERIFY: " . $enctext . " " . $output . "
"; + $converter = new Encryption; + $dectext = split(",,",$converter->decode($enctext)); + if(count($dectext)<4) return true; + $lines = getImages(); + $pick = $dectext[0]; + $time = time()-$dectext[1]; + if($time>$config["imgcaptcha_time_limit"]) return true; + $lp = $lines[$pick]; + for($i=1;$idecode($enctext)); + if(count($dectext)<=1) return; //SC + $lines = getImages(); + return $dectext[0]; + } + function generateImage($enctext) + { + $lines = getImages(); + $pick = getPick($enctext); + if(!isset($lines[$pick])) return; //SC + $src = imagecreatefrompng(getIPath($lines[$pick][0])); + if($src == FALSE) return; //SC + $maxc = 8; + $icw = $config["imgcaptcha_width"]; + $ich = $config["imgcaptcha_height"]; + $dst = imagecreatetruecolor($icw,$ich); + $srcxm = imagesx($src)-$icw; + $srcym = imagesy($src)-$ich; + $srcx = rand(0,$srcxm-1); + $srcy = rand(0,$srcym-1); + imagecopy($dst,$src,0,0,$srcx,$srcy,$icw,$ich); + + // Obfuscation step 1 + imagecopymergegray($dst,$dst,0,0,0,0,$icw,$ich,rand(20,45)); + // Obfuscation step 1.5 + for($i=0;$i<8;$i++) { + $w = rand(5,10); $h = rand(5,10); + $x = rand(0,$icw-1-$w); $y = rand(0,$ich-1-$h); + $x2 = rand(0,$icw-1); $y2 = rand(0,$ich-1); + imagefilledrectangle($dst,$x,$y,$x+$w,$y+$h,imagecolorat($dst,$x2,$y2)); + } + for($i=0;$i<5;$i++) { + $w = rand(20,40); $h = rand(20,40); + $x = rand(0,$icw-1-$w); $y = rand(0,$ich-1-$h); + imagecopymergegray($dst,$dst,$x,$y,$x,$y,$w,$h,0); + } + // Obfuscation step 2 + for($i=0;$i<$icw*$ich;$i++) { + $x = $i%$icw; $y = $i/$icw; + $c = imagecolorat($dst,$x,$y); + if(rand(0,4) == 2) { $nc = $c ^ rand(0,16777215); } + else { $nc = imagecolorat($dst,rand(0,$icw-1),rand(0,$ich-1)); } + if(rand(18,24)!=21 and $c != 0 and $c != 0xFF00FF) + { + $nc = ncfix(($c&0xFF) + rand(-16,16)) | ncfix((($c>>8)&0xFF) + rand(-8,8))<<8 | ncfix((($c>>16)&0xFF) + rand(-32,32))<<16; + $nc1 = $nc&0xFF ^ ($nc>>8)&0xFF ^ ($nc>>16)&0xFF; + } else { + $nc1 = $nc&0xFF; + if($nc1>($maxc*25)) $nc1 = $nc % ($maxc*25); + } + $nc2 = $nc1 | $nc1<<8 | $nc1<<16; + if(rand(0,1)==0) $nc2=$nc; + imagesetpixel($dst,$x,$y,$nc2); + } + // Obfuscation step 3 + for($i=0;$i diff --git a/templates/post_form.html b/templates/post_form.html index af8b22a7..ca5c7e12 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -66,7 +66,7 @@ -
+
{% config.imgcaptcha_question %}
Odswiez {{ antibot.html() }} From f754fcaea1bd4b67cd4d7a8fb90ed9f52f0605f2 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:44:43 +0100 Subject: [PATCH 05/11] integrated imgcaptcha with Tinyboard --- imgcaptcha_im.php | 7 +++++++ imgcaptcha_p.php | 5 +++++ inc/imgcaptcha.php | 2 +- js/imgcaptcha.js | 4 ++-- 4 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 imgcaptcha_im.php create mode 100644 imgcaptcha_p.php diff --git a/imgcaptcha_im.php b/imgcaptcha_im.php new file mode 100644 index 00000000..152d92ad --- /dev/null +++ b/imgcaptcha_im.php @@ -0,0 +1,7 @@ + diff --git a/imgcaptcha_p.php b/imgcaptcha_p.php new file mode 100644 index 00000000..9543dc6c --- /dev/null +++ b/imgcaptcha_p.php @@ -0,0 +1,5 @@ + diff --git a/inc/imgcaptcha.php b/inc/imgcaptcha.php index dae42752..77441fce 100644 --- a/inc/imgcaptcha.php +++ b/inc/imgcaptcha.php @@ -39,7 +39,7 @@ $converter = new Encryption; return $converter->encode($enctext); } - function ac_verifyHash($enctext, $output) { + function ic_verifyHash($enctext, $output) { //print "VERIFY: " . $enctext . " " . $output . "
"; $converter = new Encryption; $dectext = split(",,",$converter->decode($enctext)); diff --git a/js/imgcaptcha.js b/js/imgcaptcha.js index dd313fad..d8f922fe 100644 --- a/js/imgcaptcha.js +++ b/js/imgcaptcha.js @@ -3,9 +3,9 @@ //} function imgcaptcha_odswiezKapcze() { - $.get("/inc/imgcaptcha_p.php", function(data) { + $.get("/imgcaptcha_p.php", function(data) { $("#imgcaptcha_hash").val(data); - $("#imgcaptcha_img").prop("src","/inc/imgcaptcha_im.php?cr=" + data); + $("#imgcaptcha_img").prop("src","/imgcaptcha_im.php?cr=" + data); }); } //function resetujKapcze() { From b6fc153c4532fac1514174e6904cdcb84530d42f Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:46:07 +0100 Subject: [PATCH 06/11] added a note --- inc/config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/config.php b/inc/config.php index ff4637ec..2c5f17f2 100644 --- a/inc/config.php +++ b/inc/config.php @@ -273,6 +273,9 @@ $config['imgcaptcha_filler'] = "/plik/kliknijmie.png"; $config['imgcaptcha_width'] = 128; $config['imgcaptcha_height'] = 96; + + // JESLI DODAJESZ IMGKAPCZE, NIE ZAPOMNIJ O TYM + //$config['additional_javascript'][] = 'js/imgcaptcha.js'; /* * ==================== * Post settings From 938362860cee11dcb527d4e60bbab9636c7a455b Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:50:12 +0100 Subject: [PATCH 07/11] fixed template --- templates/post_form.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/post_form.html b/templates/post_form.html index ca5c7e12..30bf9224 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -66,8 +66,8 @@ -
- {% config.imgcaptcha_question %}
+
+ {{ config.imgcaptcha_question }}
Odswiez {{ antibot.html() }} From 2735e2a6449bfc3915bd6cad69308983014fb57a Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:52:18 +0100 Subject: [PATCH 08/11] fixed naming --- js/imgcaptcha.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/imgcaptcha.js b/js/imgcaptcha.js index d8f922fe..8d3ed95c 100644 --- a/js/imgcaptcha.js +++ b/js/imgcaptcha.js @@ -2,7 +2,7 @@ // return Math.round(new Date().getTime() / 1000); //} -function imgcaptcha_odswiezKapcze() { +function ic_odswiezKapcze() { $.get("/imgcaptcha_p.php", function(data) { $("#imgcaptcha_hash").val(data); $("#imgcaptcha_img").prop("src","/imgcaptcha_im.php?cr=" + data); From 22654344714a85aebb7ecc8663595a1cf5dbdef6 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 17:53:22 +0100 Subject: [PATCH 09/11] added dependency note --- inc/config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/config.php b/inc/config.php index 2c5f17f2..5d039419 100644 --- a/inc/config.php +++ b/inc/config.php @@ -275,6 +275,7 @@ $config['imgcaptcha_height'] = 96; // JESLI DODAJESZ IMGKAPCZE, NIE ZAPOMNIJ O TYM + // Wymagane tez jQuery - o tam, nizej. //$config['additional_javascript'][] = 'js/imgcaptcha.js'; /* * ==================== From 091216082aafb74b95ff4f79b3acc5e7184db404 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 18:16:09 +0100 Subject: [PATCH 10/11] fixed to actually work --- inc/ic-encrypt.php | 10 ++++------ inc/imgcaptcha.php | 24 +++++++++++++++++------- post.php | 8 +++++++- 3 files changed, 28 insertions(+), 14 deletions(-) diff --git a/inc/ic-encrypt.php b/inc/ic-encrypt.php index c0f499bd..5d73126b 100644 --- a/inc/ic-encrypt.php +++ b/inc/ic-encrypt.php @@ -1,8 +1,6 @@ skey, $text, MCRYPT_MODE_ECB, $iv); + $crypttext = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, $text, MCRYPT_MODE_ECB, $iv); return trim($this->safe_b64encode($crypttext)); } - public function decode($value){ + public function decode($key, $value){ if(!$value){return false;} $crypttext = $this->safe_b64decode($value); $iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB); $iv = mcrypt_create_iv($iv_size, MCRYPT_RAND); - $decrypttext = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $this->skey, $crypttext, MCRYPT_MODE_ECB, $iv); + $decrypttext = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $crypttext, MCRYPT_MODE_ECB, $iv); return trim($decrypttext); } } diff --git a/inc/imgcaptcha.php b/inc/imgcaptcha.php index 77441fce..ab6db68f 100644 --- a/inc/imgcaptcha.php +++ b/inc/imgcaptcha.php @@ -1,19 +1,25 @@ encode($enctext); + return $converter->encode($config["imgcaptcha_key"],$enctext); } function ic_verifyHash($enctext, $output) { + global $config; //print "VERIFY: " . $enctext . " " . $output . "
"; $converter = new Encryption; - $dectext = split(",,",$converter->decode($enctext)); + $dectext = explode(",,",$converter->decode($config["imgcaptcha_key"],$enctext)); if(count($dectext)<4) return true; $lines = getImages(); $pick = $dectext[0]; @@ -56,14 +64,16 @@ } function getPick($enctext) { + global $config; $converter = new Encryption; - $dectext = split(",,",$converter->decode($enctext)); + $dectext = explode(",,",$converter->decode($config["imgcaptcha_key"],$enctext)); if(count($dectext)<=1) return; //SC $lines = getImages(); return $dectext[0]; } function generateImage($enctext) { + global $config; $lines = getImages(); $pick = getPick($enctext); if(!isset($lines[$pick])) return; //SC diff --git a/post.php b/post.php index 16566b51..f21b6164 100644 --- a/post.php +++ b/post.php @@ -6,6 +6,7 @@ require 'inc/functions.php'; require 'inc/anti-bot.php'; +require 'inc/imgcaptcha.php'; // Fix for magic quotes if (get_magic_quotes_gpc()) { @@ -192,7 +193,12 @@ if (isset($_POST['delete'])) { error($config['error']['captcha']); } } - + if ($config['imgcaptcha']) { + if (!isset($_POST['imgcaptcha_verify']) || !isset($_POST['imgcaptcha_hash'])) + error($config['error']['bot']); + if (ic_verifyHash($_POST['imgcaptcha_hash'],$_POST['imgcaptcha_verify'])) + error($config['error']['captcha']); + } if ($post['mod'] = isset($_POST['mod']) && $_POST['mod']) { require 'inc/mod.php'; if (!$mod) { From 67e9fb587220a677cc15c4b1f8efe2764b8b1955 Mon Sep 17 00:00:00 2001 From: asiekierka Date: Sat, 22 Dec 2012 18:27:57 +0100 Subject: [PATCH 11/11] all the fixes --- inc/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/config.php b/inc/config.php index 5d039419..c700d232 100644 --- a/inc/config.php +++ b/inc/config.php @@ -265,7 +265,7 @@ $config['recaptcha_private'] = '6LcXTcUSAAAAAOGVbVdhmEM1_SyRF4xTKe8jbzf_'; $config['imgcaptcha'] = false; - $config['imgcaptcha_key'] = "cos losowego"; + $config['imgcaptcha_key'] = "cos losowego"; // max 32 znaki $config['imgcaptcha_list'] = "/sciezka/do/pliku.txt"; $config['imgcaptcha_images'] = "/sciezka/do/obrazkow"; // without a slash at the end $config['imgcaptcha_question'] = "Was ist das?";