Changeset 26041 for extensions/CryptograPHP/include/register.inc.php
- Timestamp:
- Dec 19, 2013, 3:24:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CryptograPHP/include/register.inc.php
r19428 r26041 1 1 <?php 2 if (!defined('PHPWG_ROOT_PATH'))die('Hacking attempt!');2 defined('CRYPTO_ID') or die('Hacking attempt!'); 3 3 4 4 include(CRYPTO_PATH.'include/common.inc.php'); … … 26 26 if ($securimage->check($_POST['captcha_code']) == false) 27 27 { 28 array_push($errors, l10n('Invalid Captcha'));28 $errors[] = l10n('Invalid Captcha'); 29 29 } 30 30 31 31 return $errors; 32 32 } 33 34 ?>
Note: See TracChangeset
for help on using the changeset viewer.