Ignore:
Timestamp:
Dec 19, 2013, 3:24:59 PM (10 years ago)
Author:
mistic100
Message:

update for 2.6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/CryptograPHP/include/category.inc.php

    r19428 r26041  
    11<?php
    2 if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
     2defined('CRYPTO_ID') or die('Hacking attempt!');
    33
    44include(CRYPTO_PATH.'include/common.inc.php');
     
    2929  if ($securimage->check($_POST['captcha_code']) == false)
    3030  {
    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');
    3232    return ($action != 'reject') ? $conf['cryptographp']['comments_action'] : 'reject';
    3333  }
     
    3535  return $action;
    3636}
    37 
    38 ?>
Note: See TracChangeset for help on using the changeset viewer.