Changeset 26041 for extensions/CryptograPHP/include/category.inc.php
- Timestamp:
- Dec 19, 2013, 3:24:59 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/CryptograPHP/include/category.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'); … … 29 29 if ($securimage->check($_POST['captcha_code']) == false) 30 30 { 31 if ($conf['cryptographp']['comments_action'] == 'reject') array_push($page['errors'], l10n('Invalid Captcha'));31 if ($conf['cryptographp']['comments_action'] == 'reject') $page['errors'][] = l10n('Invalid Captcha'); 32 32 return ($action != 'reject') ? $conf['cryptographp']['comments_action'] : 'reject'; 33 33 } … … 35 35 return $action; 36 36 } 37 38 ?>
Note: See TracChangeset
for help on using the changeset viewer.