projects
/
living-lab-site.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix links in contact page
[living-lab-site.git]
/
system
/
helpers
/
captcha_helper.php
diff --git
a/system/helpers/captcha_helper.php
b/system/helpers/captcha_helper.php
old mode 100755
(executable)
new mode 100644
(file)
index
19ec0c7
..
deacdb4
--- a/
system/helpers/captcha_helper.php
+++ b/
system/helpers/captcha_helper.php
@@
-77,7
+77,7
@@
if ( ! function_exists('create_captcha'))
{
return FALSE;
}
{
return FALSE;
}
-
+
// -----------------------------------
// Remove old images
// -----------------------------------
// -----------------------------------
// Remove old images
// -----------------------------------
@@
-235,7
+235,7
@@
if ( ! function_exists('create_captcha'))
$img = "<img src=\"$img_url$img_name\" width=\"$img_width\" height=\"$img_height\" style=\"border:0;\" alt=\" \" />";
ImageDestroy($im);
$img = "<img src=\"$img_url$img_name\" width=\"$img_width\" height=\"$img_height\" style=\"border:0;\" alt=\" \" />";
ImageDestroy($im);
-
+
return array('word' => $word, 'time' => $now, 'image' => $img);
}
}
return array('word' => $word, 'time' => $now, 'image' => $img);
}
}