Changeset 1313 in ExiteCMS for trunk/register.php
- Timestamp:
- 02/27/08 12:37:15 (4 years ago)
- File:
-
- 1 edited
-
trunk/register.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/register.php
r1286 r1313 23 23 24 24 // include the DNS functions include 25 include PATH_INCLUDES."dns_functions.php";25 require_once PATH_INCLUDES."dns_functions.php"; 26 26 27 27 // load the locales for this module … … 134 134 135 135 if ($settings['display_validation'] == "1") { 136 if (!isset($_POST['captcha_encode']) || !isset($_POST['captcha_code']) || !check_captcha($_POST['captcha_encode'], $_POST['captcha_code'])) { 136 // include the secureimage class 137 require_once PATH_INCLUDES."secureimage-1.0.3/secureimage.php"; 138 $securimage = new Securimage(); 139 if ($securimage->check($_POST['captcha_code']) == false) { 140 // the code was incorrect 137 141 $error .= $locale['410']."<br />\n"; 138 } 142 } 139 143 } 140 144
Note: See TracChangeset
for help on using the changeset viewer.
