Upgrade jpgrah to 4.3.4

This commit is contained in:
Nigel Sheldon 2021-01-03 17:10:26 +01:00
commit b5868f05f6
72 changed files with 19157 additions and 10327 deletions

View file

@ -1,11 +1,11 @@
<?php
//=======================================================================
// File: JPGRAPH_ANTISPAM.PHP
// Description: Genarate anti-spam challenge
// Created: 2004-10-07
// Ver: $Id: jpgraph_antispam.php 808 2006-11-28 19:10:40Z ljp $
// File: JPGRAPH_ANTISPAM.PHP
// Description: Genarate anti-spam challenge
// Created: 2004-10-07
// Ver: $Id: jpgraph_antispam.php 1106 2009-02-22 20:16:35Z ljp $
//
// Copyright (c) Aditus Consulting. All rights reserved.
// Copyright (c) Asial Corporation. All rights reserved.
//========================================================================
class HandDigits
@ -14,10 +14,10 @@ class HandDigits
public $iHeight=30;
public $iWidth=30;
public function HandDigits()
public function __construct()
{
//==========================================================
//==========================================================
// lj-small.jpg
//==========================================================
$this->chars['j'][0]= 658 ;
@ -151,7 +151,7 @@ class HandDigits
't2fmEIckqIZaaKuSGG0lQ4gduRoFRHQ9AOgs2lOJbk9aSUlpjGvAWeSVH2VKq/2dFPw3IjyJe8s281ct3I9UoHJXGiQkD2STrSZ7'.
'Yf8AOl7JTdw5eOCz0jw3+LbYCfA9nz71msb8KMxoTGTw+5srjsipAdDqFBQBIuiOl6KrdYyJMyTCshlw2G3Fr/HiNqNNAqJJUoGl'.
'KND+h47km1bZwsvCbYYjycxIyK1qDv2yEi0hQviK8atKDcy9j//Z' ;
//==========================================================
// lp-small.jpg
@ -548,7 +548,7 @@ class AntiSpam
private $iData='';
private $iDD=null;
public function AntiSpam($aData='')
public function __construct($aData='')
{
$this->iData = $aData;
$this->iDD = new HandDigits();