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/register.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');
     
    2626  if ($securimage->check($_POST['captcha_code']) == false)
    2727  {
    28     array_push($errors, l10n('Invalid Captcha'));
     28    $errors[] = l10n('Invalid Captcha');
    2929  }
    3030
    3131  return $errors;
    3232}
    33 
    34 ?>
Note: See TracChangeset for help on using the changeset viewer.