[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/extensions/ConfirmEdit/ -> MathCaptcha.php (source)

   1  <?php
   2  
   3  /**
   4   * Captcha class using simple sums and the math renderer
   5   * Not brilliant, but enough to dissuade casual spam bots
   6   *
   7   * @file
   8   * @ingroup Extensions
   9   * @author Rob Church <[email protected]>
  10   * @copyright © 2006 Rob Church
  11   * @licence GNU General Public Licence 2.0
  12   */
  13  
  14  if ( !defined( 'MEDIAWIKI' ) ) {
  15      exit;
  16  }
  17  
  18  $dir = __DIR__;
  19  require_once $dir . '/ConfirmEdit.php';
  20  $wgCaptchaClass = 'MathCaptcha';
  21  
  22  $wgAutoloadClasses['MathCaptcha'] = $dir . '/MathCaptcha.class.php';


Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1