From 413044ab06b6b9ec1041cf5793e6b8226669b6d5 Mon Sep 17 00:00:00 2001 From: kagla Date: Thu, 21 Oct 2021 11:16:49 +0900 Subject: [PATCH] =?UTF-8?q?=EC=9D=B4=ED=9B=84=20=EB=B2=84=EC=A0=84?= =?UTF-8?q?=EC=9D=98=20PHP=EC=97=90=EC=84=9C=EB=8A=94=20class=20=EC=97=90?= =?UTF-8?q?=20=EC=86=8D=ED=95=9C=20method(=ED=95=A8=EC=88=98)=20=EC=9D=B4?= =?UTF-8?q?=EB=A6=84=EC=9D=84=20class=20=EC=9D=B4=EB=A6=84=EA=B3=BC=20?= =?UTF-8?q?=EB=8F=99=EC=9D=BC=ED=95=98=EA=B2=8C=20=EB=A7=8C=EB=93=A4=20?= =?UTF-8?q?=EC=88=98=20=EC=97=86=EC=8A=B5=EB=8B=88=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/inicis/libs/sha256.inc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shop/inicis/libs/sha256.inc.php b/shop/inicis/libs/sha256.inc.php index e39cd63da..72386947b 100644 --- a/shop/inicis/libs/sha256.inc.php +++ b/shop/inicis/libs/sha256.inc.php @@ -73,7 +73,9 @@ if (!class_exists('nanoSha2')) var $platform; // Php 4 - 6 compatable constructor - function nanoSha2($toUpper = false) { + // PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP + // function nanoSha2($toUpper = false) { + function __construct($toUpper = false) { // Determine if the caller wants upper case or not. $this->toUpper = is_bool($toUpper) ? $toUpper